Chipmunk rail physics

Share your projects and Chipmunk enhancements.

Chipmunk rail physics

Postby Zamaster » 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.
Zamaster
 
Posts: 37
Joined: Tue Feb 12, 2013 8:09 pm

Re: Chipmunk rail physics

Postby slembcke » Mon Jun 10, 2013 12:34 pm

Hey, that's pretty nifty actually. Works pretty well.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: Chipmunk rail physics

Postby Zamaster » Sat Jun 22, 2013 9:02 pm

http://youtu.be/P3760HUsAsw

This is old-ish, but an update to those who are interested. Thats just a poly shape pivot jointed to the staticBody, we drop a clingyBall on it and the rest is history. Much more to go from here, but I think this is a fairly original use for Chipmunk!
Zamaster
 
Posts: 37
Joined: Tue Feb 12, 2013 8:09 pm


Return to Community Creations

Who is online

Users browsing this forum: No registered users and 1 guest