Box2D Forum Archive
Search Settings
Home › Box2D › General Discussion

Player movement?

General Discussion
B blargmob
Jan 28, 2008 18:47
Howdy,

How can I apply a type of player movement? I've tried SetLinearVelocity(), but that actually sets the velocity. I just want to move the player, while it's being simulated.
B brainclog
Jan 28, 2008 20:05
Search "ApplyImpulse" on the forums. There is stuff in the manual too, but you can find more explanation in the forums.

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

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