G
G
German2019-02-01 11:41:55
C++ / C#
German, 2019-02-01 11:41:55

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

1 answer(s)
W
Warlodya, 2019-02-05
@mrjbom

body->SetTransform(b2Vec2(0,0),body->GetAngle())

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question