How to create a cocos2d-x's PhysicsBody that does not rotate -


i'm using cocos2dx write simple game. wanted use cocos2dx's physics engine don't need object rotate it's initial direction. turns out can't find way it. tried put static physics body , attaching other bodies physicsjoinmotor or physicsjointgear o avail. ideas on how accomplish this?

body->setrotationenable(true);


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

Fatal error: Call to undefined function menu_execute_active_handler() in drupal 7.9 -

python - RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK -