Hi!
I have a few problems using the collision detection in java 3d. I'm trying
to catch collisions with my avatar (ViewerAvatar in ViewingPlatform) and the
walls of a maze-like building, to prevent the avatar from running through
walls. So far so good.
I found several older mails in this group from programmers that tried to
make something simmilar. It would be nice if some of them can tell me about
her/his progress.
Now to my specific problems:
* It seems that collisions with group-nodes can't be detected. Is that
right? If yes, what are the collision bounds in groups for?
* In the scene-graph all of my shapes are located below several group-nodes
(branch- and/or transform-groups). When I turn off the automatic calculation
of the bounds in any of these groups (using setBoundsAutoCompute()) and set
the corresponding bounds and collision-bounds manually (using setBounds()
resp. setCollisionBounds()) then no collision with underlying shapes happens
anymore. Even if I set these bounds to surround my entire scene. What did I
wrong? What are the (normal) bounds for? Do group-bounds have to surround
all their children? Are the bounds of a node (groups and leafs) affected by
superior transform groups (sometimes this seems not to be true for groups)?
* Does anybody know a tutorial-like text or some sample-code that covers
collisions a bit more deeply than TickTockCollision?
I'm hoping for your help.
Sincerely, yours
Michael Lorenz.
([EMAIL PROTECTED])
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/