Box2D Forum Archive
Search Settings
Home › Box2D › General Discussion

Center of object?

General Discussion
N neos300
Oct 23, 2010 07:27
Quick question:
Does box2d assume the center of the object (sprite or w/e) to be the center of the object or the top left corner?
I irresistible force
Oct 24, 2010 06:41
The center of a body is the center of mass, so it will depend on what fixtures are attached to it and their densities.

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

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