Hi all,
In the BranchGroup class there is
detach() & in the Group class there is a
removeChild(int index) when i use that method wat will happen
to memory associated with that object.Will all the memory released.
Is it possible to move a object with respect to mouse co-ordinates (i.e) if
i have a shape3d object & when i click on the object & drag it...i
want it to follow the mouse cursor co-ordinates & where the release the
mouse the object should remain there.And if the want to restrict the
movement(i.e) if i rectangle area & i want the shape3D object to be dragged
only within that area.If the user drag the object out of that area then it
should stop at that point.
Yes I can use the PickTranslate Behaviour.But i want the
PickTranslate behaviour for the entire group as well & as well to the
particular object.If the user clicks on that particular object then only that
particular shape3D should move.When he clicks on the rest of the objects &
moves then the entire group should move.Right now I have added PickTranslate
behaviour for the entire BranchGroup.
If anybody can tell me how should i go about it or if anybody has an
example could they please send it to me.
Thanks in advance
Ravi Goel |