Questions tagged [revolute-joints]

A revolute joint (also called pin joint or hinge joint) is a one-degree-of-freedom kinematic pair used in mechanisms

A revolute joint (also called pin joint or hinge joint) is a one-degree-of-freedom kinematic pair used in mechanisms.

Revolute joints provide single-axis rotation function used in many places such as door hinges, folding mechanisms, and other uni-axial rotation devices.

via: Wikipedia

22 questions
5
votes
1 answer

Achieve joint break when more than certain force is applied

I have two dynamic bodies attached together with a revolute joint. Both of the bodies are also connected to a static body on the other ends. I need the joint between the two dynamic bodies to break when more than a certain amount of force is…
Mikayil Abdullayev
  • 12,117
  • 26
  • 122
  • 206
4
votes
1 answer

Unstable b2RevoluteJoint Box2D

here is my problem, please see video: https://www.youtube.com/watch?v=UFXye1mMr04 When biggest body pushes my rope - it becomes crazy. I need to use mousejoint in my game and user can grab big object and hit that rope. If I increase size of each…
KAMIKAZE
  • 420
  • 6
  • 27
2
votes
1 answer

Revolute joints jump out of frame - vrep, bullet engine

We have a simple robotic model with revolute joins in v-rep. The joints are in force/torque mode, and they are controlled via non-threaded child script using simSetJointTargetVelocity function of the simulator. The collision is enabled in the model,…
Gyfis
  • 1,174
  • 1
  • 14
  • 35
2
votes
1 answer

How do I set a RevoluteJoint angle and velocity exactly?

I've built a simple simulator using JBox2D, which involves a character built from a collection of bodies and four Revolute Joints. I've run into a problem: I need to restore the 'pose' of this character exactly, given a list of joint angles, joint…
amm
  • 343
  • 3
  • 11
2
votes
1 answer

LibGDX Box2D rope stretching like a crazy

I am developing a game when i using a rope, that i created in Box2d using circles and joints. Rope works as expected when i drag it with low force, and in other cases (when force is more big) it just stretch like a crazy and i don't know how to fix…
user1929598
  • 43
  • 1
  • 4
2
votes
3 answers

Joints break when zooming

I've been rehearsing Sprite Kit lately and I've come across a very strange problem. When zooming (changing the scale of) the parent node, bodies that are joined together by SKPhysicsJointPin separate from each other gradually and then joints break.…
Mikayil Abdullayev
  • 12,117
  • 26
  • 122
  • 206
2
votes
1 answer

Is it possible to join a body from two sides to different static bodies

b2Body* foundation =[self createStaticBodyAtLocation:CGPointMake(15, 15) withSize:CGSizeMake(35, 35)]; b2Body* beam=[self createDynamicBodyAtLocation:CGPointMake(105, 35) withSize:CGSizeMake(150, 10)]; b2RevoluteJointDef…
Mikayil Abdullayev
  • 12,117
  • 26
  • 122
  • 206
1
vote
1 answer

Revolute constraint in Phaser 3

I am new to phaser and trying to learn phaser 3. I need a revolute constraint for a project. There are examples for phaser 2 using box2d and p2physics, but they wont work in phaser 3. I tried looking that in documentation but I don't think it is…
1
vote
1 answer

Revolute Joints in box2d

I have been trying to follow the tutorial here to construct a revolving joint; essentially, an arm. I need the arm, a rectangle, to be pinned to a point on a square and revolve around it. When force is applied I expect the two shapes to behave as…
1
vote
2 answers

libgdx+box2d joints not working properly under gravity

I am trying to create a pendulum using box2d/libgdx by connecting a static and a dynamic body. I have tried various types of joints like distance joint, rope joint and revolute joint but under gravity the dynamic body always ends up escaping down…
ARK
  • 165
  • 13
0
votes
1 answer

How do I reset a Box2d RevoluteJoint to its original state properly?

I have a world with a static body (B) and a dynamic body (A) connected through a RevoluteJoint (j). After having the simulation run through a number of frames I reset the bodies and joint by: private void reset(){ //PPM = 32 …
0
votes
0 answers

HingeJoint2D isn't working with Box Collider2D in Unity

I have this character that has an arm as a child gameObject and on that arm there is a HingeJoint2D and a Box Collider2D. The problem is that when I set motor speed, the arm will not move right away, it kinda lags for 1 second or even wont move…
Oki Doki
  • 179
  • 3
  • 13
0
votes
1 answer

How to control Revolute joint using input button?

I am trying to rotate a body connect via revolute joint, when space bar button is pressed in my desktop.it is working fine when i put all the condition in create, but not working on pressing space bar button. here is my create method …
Kharak
  • 62
  • 8
0
votes
1 answer

How to set back and forth motion in revolute joint Libgdx?

I am trying to give back and forth motion of a body connected via revolute joint. I was trying to set reference to zero, when simulation starts 45 degree in clockwise then in anticlockwise back to reference and 45 degree anticlockwise from…
Kharak
  • 62
  • 8
0
votes
1 answer

Andengine - RevoluteJointDef torque

I am following this amazing tutorial (http://www.matim-dev.com/revolute-joint.html) to create a RevoluteJointDef, just like the blog describes. Everything worked as it is explained, BUT I am getting an undesirable behavior. Problem: When my body(1x1…
Renaro Santos
  • 403
  • 1
  • 7
  • 19
1
2