Skip to main content

how to move center of rotation.

No replies
Joined: 2009-12-07

Hi Guys
I am creating a application in which I am loading a object to the center of universe.And now I disable all the features of OrbitBehaviour like Mousezoom,Panning bcoz I want to do all these on separate clicks.

I did that on different clicks and its working fine except one issue whose solution I need from u guys.Now the prob is When I Pan,I am taking TransformGroup whose child is our object and moving thth transforngroup. But after that when I rotate then its rotating around last center of rotation.How can I move the center of rotation too that when I rotate after panning then it should rotate around its axis only.

Any Help will be appreciated.