Best Practice for lock orientation

Official forum for the Chipmunk2D Physics Library.

Best Practice for lock orientation

Postby Asahi » Sun Nov 16, 2014 10:18 pm

Hi all,

I am new to Chipmunk, I am wondering what is the best practice to lock the orientation of a shape attached with a rigid body.
Currently I can only think about reset angle everything frame, but I am sure it is not the best approach. :D
Asahi
 
Posts: 2
Joined: Sun Nov 16, 2014 10:12 pm

Re: Best Practice for lock orientation

Postby Asahi » Tue Nov 18, 2014 8:35 pm

I have tried to SetMoment to Infinity, it seems to work on my currently case.
Asahi
 
Posts: 2
Joined: Sun Nov 16, 2014 10:12 pm


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 2 guests

cron