Chipmunk rail physics
Posted: Sat Jun 08, 2013 7:52 pm
This uses just stock chipmunk and works without issue at a time step of 1/30 for 10 iterations. Momentum is MOSTLY conserved, but for my purposes this is ultimately going to lead to complex wall climbing behavior so I'm not too worried about it.
http://www.youtube.com/watch?feature=pl ... _XLKtJvRmA
This uses a system of groove and pin joints, switching just at the right second to carry around corners. The only tricky part was maintaining connection information and determining when to constraint switch from joint A to joint B without stepping on the toes of the logic to switch the other way around.
http://www.youtube.com/watch?feature=pl ... _XLKtJvRmA
This uses a system of groove and pin joints, switching just at the right second to carry around corners. The only tricky part was maintaining connection information and determining when to constraint switch from joint A to joint B without stepping on the toes of the logic to switch the other way around.