Basic Collision Question
Hi guys,
If my sphere collides with a wall I make the resting place exactly the radius away. But then isn''t it still colliding ?
Should the distance from the center of the sphere to the wall be less than the radius or less than or equel for a collision to occur ?
Thanks.
that''s what''s called a resting contact, or contact.
To simplify, to avoid another immediate contact, if that bothers you, you can put the sphere position at a distance radius + 1 milimiter (or more) away from the wall. The sphere would jitter slightly if you try to keep pushing the sphere towards the wall.
To simplify, to avoid another immediate contact, if that bothers you, you can put the sphere position at a distance radius + 1 milimiter (or more) away from the wall. The sphere would jitter slightly if you try to keep pushing the sphere towards the wall.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement