Geal, Your view platform will be located at (x, y, z) = (0, 0, 0) unless you have one or more TransformGroup(s) connecting the view platform to the "locale" defining your origin in the "universe." This TransformGroup will have a Transform3D object that can be accessed via
TransformGroup.getTransform(Transform3D t1). Once you have a handle to the Transform3D object controlling the location of your view platform, use the following method to get the (x, y, z) components Transform3D.get(Vector3d trans). The method places x in trans[0], y in trans[1], and z in trans[2]. Good luck! -Todd Gael wrote: > Hi everyone, > > I use the getViewingPlatform method in order to travel in my world. > > I try to get the coordinates ofmy position in the world. > > I used the getLocalToWorld method but I have several errors such as, > capability not set... so I setted up, or node not in the live scene... > > So, I would like to know if anyone could tell me how to get the > coordinates of the position of the "camera". > > Thx, > > Gael. > =========================================================================== 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".
