Have a
look at the FAQ pages on http://www.j3d.org/faq for details on just how
to do this. Essentially, you cast a ray in the direction of movement and
see if it intersects anything.
I
wrote some code once to find the intersecting face. The approach was to
look at each face of the intersected object in turn and see if a normal dropped
from the sphere to the plane of the face intersected within the
face.
Tony
|
- [JAVA3D] Collision detection Massimo Manfredino
- Re: [JAVA3D] Collision detection Marc Nienhaus
- [JAVA3D] Collision Detection Mark Beckman
- Re: [JAVA3D] Collision Detection Adrian Shaw
- Re: [JAVA3D] Collision Detection Sascha Koch
- [JAVA3D] Collision Detection Tonz .
- Re: [JAVA3D] Collision Detection Leyland Needham
- [JAVA3D] collision detection Christoph Wille
- [JAVA3D] collision detection Christoph Wille
- Re: [JAVA3D] collision detection Thomas Gilbert Giusepe
- [JAVA3D] Transparency Burrows Anthony
- [JAVA3D] Transparency RWGRAY
- [JAVA3D] what coordinate system BoundingSph... Christoph Wille
- [JAVA3D] Collision Detection Greg Baboolal
- [JAVA3D] collision detection Flavius Alecu
- Re: [JAVA3D] collision detection Silvère Martin-Michiellot
- [JAVA3D] Collision Detection Cassia Trojahn dos Santos
- Re: [JAVA3D] Collision Detection Christian Britton
- Re: [JAVA3D] Collision Detection Bradley Vender
- [JAVA3D] collision detection nagehan pala