I try to simulate a rope with tokamak. Therefor I connected several RigidBodys (RB) with ball joints (BJ):
RB1 - BJ1 - RB2 - BJ2 - RB3 - BJ3 - RB3 - ....
That works perfectly. But the rope pices (RigidBodys) are free in rotation around the rope axis. Is it possible to limit the twist around one Axis of the ball joint (EnableLimit2 etc.)?
I figured out that for ball and socket joints, a twist limit can also be specified. This is done by calling the SetUpperLimit2 and SetLowerLimit2 functions. But Tokamak crash when calling Advance - the problem only occurs when I limit a joint with an AnimatedBody.
Can you post the setup code so I can try to repro the crash?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.