Skip to main content

Translate Problems

No replies
Joined: 2008-09-30


I've been using the PickTranslateBehavior to move some object around in a scene. I've found the limitation that it only perform operations on x, y components. On the other hand, the user is able to move around the world using the OrbitBehavior, so when the user is looking at the world from behind and moves the object, it moves in the wrong direction, I mean when the user moves the mouse to the left, the object moves to the right, because the behavior is always considering the mouse moved to the left so the object is moved to the left too, despite the viewers position.

I've looking for a way to always move the picked object respect to the user's view point in the world, and moving it as if the user would be looking at the world from the front.

Thanks in advance