Joao Ferreira wrote:
[...]
>     Will Java3D help me in any way to detect that the corner of the
> table has hit the wall ?

        Yes, Java3d contains some collision detection
functionality.

>     Will Java3D help me to discover that the table is going to rotate
> after hiting the wall ?

        I think what you're looking for here is constrained
physically-based dynamics, which is really beyond the scope of
Java3D (although the results of such algorithms can of course
still be displayed via Java3D). Check out
http://www.cs.cmu.edu/~baraff/sigcourse for a good introduction
to the problem, and to get an idea of its scope. Note that in
this particular case you could certainly fake it -- I mean,
comparing the normals of the table and wall and such, and having
dedicated logic to decide what to do -- but I get the idea you're
looking for a more general solution.

-spc

-- 
 /-                Sean Cier <[EMAIL PROTECTED]>                -\
(                Dreams of falling, dreams of flying;                 )
(               a man who never dreams goes slowly mad                )
 \-                http://www.PostHorizon.com/scier                 -/
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to