HI Liming,
Check out Node.getLocalToVworld(Transform3D t) .
Note: You'll have to set the Node.ALLOW_LOCAL_TO_VWORLD_READ capability on any node
whose transform you want to read.
josh
----------------------------------------------------
Joshua L. Richmond, BASc, MSc.
Systems Engineering (R&D)
MD Robotics
9445 Airport Rd, Brampton, ON, Canada
(905) 790-2800 x4332
-----------------------------------------------------
>>> [EMAIL PROTECTED] 04/20/01 02:53PM >>>
Hi,
I build a BranchGroup that contains one or more TransformGroups, then
these TransformGroups contain more children and so forth. My question
is: how can I access the children nodes at the leaf end of this
branchGroup? I found that the getAllChildren() method in BranchGroup can
only get the children at next level but cann't go further depth. My
ultimate goal is to get the world coordinate of those leaf nodes (i.e.
objects).
Can anyone help?
Thanks
Liming
===========================================================================
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".
Josh Richmond.vcf