Results 1 to 13 of 13

Thread: [resolved] Oval collision detection - how to?

Threaded View

  1. #1

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    [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
  •  



Click Here to Expand Forum to Full Width