Hi
If you need to move an object, or rotate it, scale it, etc, you just need to apply a Transform3D with correct transform operations. See Java3D tutorials about Transform
If you need to display the transformed coordinates, then you need getLocalToVworld and multiply your coordinates with it:
[code]
// Below code must be inside a behavior class.
// t3d comes from somewhere
Transform3D t3d = (...)
// get all transform accumulated from root to here
myShape.getLocalToVworld(t3d);
//myShape.getLocalToVworld(sceneGraphPath, t3d);
(...)
// update the transformed points
// I assume you have the coordinates previously stored elsewhere
t3d.transform(Point3d point, Point3d pointOut) ;
[/code]
I hope it helps ;)
[Message sent by forum member 'zesharp' (
zando.silva@...)]
http://forums.java.net/jive/thread.jspa?messageID=370857---------------------------------------------------------------------
To unsubscribe, e-mail:
interest-unsubscribe@...
For additional commands, e-mail:
interest-help@...