Skip to main content
2 of 2
added 2 characters in body; edited title
House
  • 73.3k
  • 17
  • 185
  • 273

Constant rotation of a revolute joint in box2d

I would like to have a line with one end attached to a location and have it rotate constantly (with the same speed) with a maximum of 45 to -45 degrees (i.e. I would like to have it swing like a rope back and forth 90 degrees).

Is this possible or should I use non box2d objects to do this (cheat box2d engine)?

Alex
  • 579
  • 8
  • 17