Hi,
Is it a CapabilityNotSetException?
If it is you need to set the capabilities of your shape3D (using it's
setCapability() method)to allow you to access it.
Capabilities define what interactions can be made with an object when it the
scene graph is live, (i.e. being rendered on the screen).
Hope that's of some help,
Regards,
Paul James
-----Original Message-----
From: Rikard Elofsson [mailto:[EMAIL PROTECTED]]
Sent: 11 January 2001 10:30
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Picking / general API question
Hi all
I don't quite get the API, have only worked
with it a couple of days, plz help out.
I've extended PickMouseBehavior, getting a
nice pick in updateScene(), i get hold of a
Shape3D (Leaf). How do i get from the shape
to the Transform3D to move it around? All the
examples have the Transform3D as an instance
variable, surely there must be a way to get
the transform from a shape???
If i try getParent().getTransform() i get an exception,
"Cannot get the parent of a live or compiled node"
How is it supposed to be done?
Regards
//Rikard
===========================================================================
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".