Take the top node for the man and get the TransformGroup's Transform3d.
Let's call it t3d.

Now 
        Vector3d position = new Vector3d();
        t3d.get(position);
should put the position in the x, y and z fields of position.

Keeping the man inside needs collision detection, or better, collision
look-ahead.  See http://www.j3d.org/, and look for collision.  This should
give you what you need.

Tony Burrows


-----Original Message-----
From: MMB B [mailto:[EMAIL PROTECTED]]
Sent: 31 January 2002 11:02
To: [EMAIL PROTECTED]
Subject: [JAVA3D] [J3D] x, y, z


hi, i´ve to make a 3d room that a 3d man can walk
inside
mi problem is how can i put walls in this 3d
universeto keep the man inside and how can i have the
man´s x,y,z cordinates?

thanks everybody


____________________________________________________________________________
___________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo!
GeoCities. É fácil e grátis!
http://br.geocities.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to