Box2D Forum Archive
Search Settings
Home › Box2D › Bugs, Requests, and Feedback

b2_angularSleepTolerance is not multiplied by b2_pi?

Bugs, Requests, and Feedback
M matrebatre
Apr 23, 2009 09:28
/// A body cannot sleep if its angular velocity is above this tolerance.
const float32 b2_angularSleepTolerance = 2.0f / 180.0f; // 2 degrees/s

Shouldn't this be 2.0f / 180.0f * b2_pi?
E Erin Catto
Apr 23, 2009 10:28
Good catch!

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

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