Categories
How to change position of body in Box2D?
I need to change the position of the body at the given coordinates at one point in time. How?
Answer the question
In order to leave comments, you need to log in
body->SetTransform(b2Vec2(0,0),body->GetAngle())
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question