Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Shape casting a capsule against a convex polyhedra

  1. Aug 21, 2011 #1
    Let's say I have a upright capsule shape (swept sphere) that I would like to cast it along a velocity vector. I would like to be able to find the point of contact and a surface normal for any convex shapes it would intersect along this path. I would also like to find the distance the swept caspule traveled to the point of first contact.

    Heres a quick diagram of a capsule being casted against a large convex polyhedra (only one face is drawn)

    3ouuf.png


    What kind of algorithm or process could do this? I assume it would be similar to a sphere-cast, but i can't find much on that either.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Shape casting a capsule against a convex polyhedra
  1. Convex Function (Replies: 2)

  2. Convex Sets (Replies: 1)

Loading...