Camera Panning using GuiObjectView
by Travis Vroman · in Torque Game Engine Advanced · 01/15/2009 (3:49 pm) · 0 replies
Okay, so essentially what I am trying to do here is find a way to pan the camera in guiObjectView (TGEA1.7.1). I've added a panning state to the control, and I have even been able to move the camera in space.
However, there are several problems. It seems that the camera is only controllable by world coordinates, which makes for inverted and/or incorrect panning when the user rotates around the model.
My question is this. In GuiObjectView, is there a way to capture and translate on the local coordinates/orientation of the camera, or how else could I do this?
I'm essentially trying to pan about the viewport similar to 3ds max or constructor.
Any help with this would be much appreciated.
-Travis
However, there are several problems. It seems that the camera is only controllable by world coordinates, which makes for inverted and/or incorrect panning when the user rotates around the model.
My question is this. In GuiObjectView, is there a way to capture and translate on the local coordinates/orientation of the camera, or how else could I do this?
I'm essentially trying to pan about the viewport similar to 3ds max or constructor.
Any help with this would be much appreciated.
-Travis