-

Official forum for the Chipmunk2D Physics Library.
Post Reply
ernstlenzer
Posts: 3
Joined: Thu Jan 23, 2014 6:52 pm
Contact:

-

Post by ernstlenzer »

--
Last edited by ernstlenzer on Fri Feb 17, 2017 4:33 pm, edited 1 time in total.
kevryan
Posts: 5
Joined: Tue May 14, 2013 11:50 am
Contact:

Re: player movement on uneven surface

Post by kevryan »

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);
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests