Box2D Forum Archive
Search Settings
Home › Box2D › General Discussion

contact normals

General Discussion
M mike950
Dec 11, 2007 14:30
I'm probably overlooking something obvious.
But what is the contact normal direction?
If 2 circles are colliding head on
---->(b1)o(b2)<----
where o is the contact point.
Would the normal be pointing toward b1 or b2?
Mike
E Erin Catto
Dec 11, 2007 15:38
Contact normals point from shape1 to shape2.

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

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