You have use collosion detection method to keep the person inside the room,
that is, when the person collide the wall, the forward motion will be
prohibited. Regarding the coordinate of the person, you set the original
coordinate of the person, and then modify it, which make the person move,
please note, the current modified coordinate of the person is the needed
coordinate. You can view my example at http://vlab.ee.nus.edu.sg/~ccd/VR

Rgds,

Cheng Chang Dong


----- Original Message -----
From: "MMB B" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 7:02 PM
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