|
Once a collision has occurred and a behavior
triggered - is there a way to get the normal of the face of the object with
which the collision occurred?
I read something on www.j3d.org that suggesting using the PickTool and
a bounds area to check for the object that you have collided with. I tried
this, but have a couple questions:
- Does the PickTool exclude the object that caused
the collision? I only want to pick out the object that the object collided
with.
- Does the bounds for a Primitive shape
automatically get updated as the object moves? I tried printing out the
bounds for the moving object and it stayed the same - so do I need to transform
it to another coordinate system before passing it into the
PickTool?
Or is there a better way?
Thanks,
Keith
|
- [JAVA3D] texture mapping Keith Johnston
- [JAVA3D] texture mapping Liming CHEN
- Re: [JAVA3D] Collision Detection - Need Normal Tony Burrows
