Lock rotation for physics

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Lock rotation for physics

Post by DarkDragon »

Hello,

I'd like to disable the rotation for a specific entity. The player is rotating around and I can't get it to keep staying in this one orientation.

[EDIT]
Maybe those two functions of the bullet physics engine would help:
http://www.purebasic.fr/english/viewtop ... 47#p371947
bye,
Daniel