skapunch/box2d

Gear joints only works with both bodies dynamic

Closed this issue · 1 comments

What steps will reproduce the problem?
1. Create a revolute joint (1)- body A - dynamic, body B static
2. Create another revolute joint (2) - bodyA -dynamic, body B static (same body 
as the other revolute joint)
3. Create a gear joint - body A -> Body A of revolute 1, body B -> Body A of 
revolute (2)
joint 1 -> revolute 1, joint 2 -> revolute 2

What is the expected output? What do you see instead?

Expect that when rotating body A the other body A should rotate also. Instead 
nothing happens.

Make body B dynamic - everything works as expected


What version of the product are you using? On what operating system?
Box2d 2.2.1 (also tested with latest from the repository) 

Mac os x

Please provide any additional information below.


Original issue reported on code.google.com by vladu.bo...@gmail.com on 13 Oct 2011 at 12:46

I could not reproduce this problem. Please dump your world using b2World::Dump.

Original comment by erinca...@gmail.com on 23 Oct 2011 at 5:56

  • Changed state: Invalid