-

Official forum for the Chipmunk2D Physics Library.

-

Postby ernstlenzer » Thu Jul 03, 2014 5:02 pm

--
Last edited by ernstlenzer on Fri Feb 17, 2017 4:33 pm, edited 1 time in total.
ernstlenzer
 
Posts: 3
Joined: Thu Jan 23, 2014 6:52 pm

Re: player movement on uneven surface

Postby kevryan » Sun Jul 13, 2014 4:22 pm

Try setting the body's moment of inertia to infinity so that it won't rotate. This is the routine:

void cpBodySetMoment(cpBody *body, cpFloat i);
kevryan
 
Posts: 5
Joined: Tue May 14, 2013 11:50 am


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 3 guests