making a body rotate to a specified angle

General Box2D issues or C++ specific issues
aakinade
Posts: 1
Joined: Sun Mar 19, 2017 6:16 pm

making a body rotate to a specified angle

Postby aakinade » Sun Mar 19, 2017 6:53 pm

So for my game I am trying to make a catapult. to give the effect of a catapult the body has to quickly rotate. what I'm trying to do is make the body rotate 45 degrees and let gravity do it's thing by putting it down on the ground again.

i tried using setangular velocity but that doesnt seem to do the trick. does anyone have suggestion?

Return to “Bugs, Requests, and Feedback”



Who is online

Users browsing this forum: No registered users and 3 guests