-
-
- Posts: 3
- Joined: Thu Jan 23, 2014 6:52 pm
- Contact:
-
- Posts: 5
- Joined: Tue May 14, 2013 11:50 am
- Contact:
Re: player movement on uneven surface
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);
void cpBodySetMoment(cpBody *body, cpFloat i);
Who is online
Users browsing this forum: No registered users and 29 guests