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
Post a Comment