Box2D Help

BlitzMax Forums/Brucey's Modules/Box2D Help

_JIM(Posted 2009) [#1]
Hi,

I seem to have trouble limiting a body as far as rotation goes. I'm working on a platformer, and obviously, I don't want my character to "roll". I have no idea how to do this (tried a few methods the whole day and failed miserably). Any help is higly appreciated.

Thanks,
JIM


Tommo(Posted 2009) [#2]
@Type  b2BodyDef
Method SetFixedRotation(fixed:Int) 
Should this body be prevented from rotating? Useful For characters. 


Here is the key.


_JIM(Posted 2009) [#3]
Wow, that was too simple. Thank you!