|
-
Nov 4th, 2005, 04:35 AM
#1
Thread Starter
PowerPoster
[resolved] Oval collision detection - how to?
About the easiest thing one can do is a circular collision detection. You just calculate the distance from center to center and if the result is smaller than the summed radii the circles are colliding.
But in my game the objects have oval shadows, well basically just circles with half the height. I noticed the collision detection should match the shadows, otherwise it feels weird when playing.
So how can I check if 2 ovals are colliding? The ovals are not roated, as said before they are just half-the-height shrinked circles.
Any ideas?
Thanks, Fox
Last edited by Fox; Nov 4th, 2005 at 06:19 PM.
Reason: [resolved]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|