Box2D Forum Archive
Search Settings
Home › Box2D › General Discussion

Moving a Static Object manually

General Discussion
T TomMan
Apr 21, 2011 03:54
I am trying to move a static object manually but when I try to use:

Code:
body->SetTransform(b2Vec2(x, y), body->GetAngle())


it doesn't seem to work. Is this the correct way to complete this?

Original thread: https://box2d.org/forum/viewtopic.php?t=6819

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About