Arguments to camera.setTransform
by Marcin Zygmunt · in Torque Game Engine · 05/11/2005 (1:46 pm) · 5 replies
Does this function take matrix or two vectors as arguments?
About the author
#2
05/13/2005 (4:02 am)
Yes, but I've got some problems with this function. I used the function camera.setTransform(...) to set something like "0 0 160 1 0 0 1", and the camera orientation changed, when I did the same once more. It's very strange.
#3
05/13/2005 (4:52 am)
But that must be done in 'flying mode', right? I tried that this morning in that mode, and it worked perfectly.
#4
As Luis said, you need to untie your camera from the player prior to being able to manually adjust it's position. Check out the flying mode that Luis mentions for pointers about this concept.
05/13/2005 (11:07 am)
The camera is tied to your player, and while you may change the transform with setTransform, 1 tick (32 milliseconds) later, the camera is repositioned to where it "should" be.As Luis said, you need to untie your camera from the player prior to being able to manually adjust it's position. Check out the flying mode that Luis mentions for pointers about this concept.
#5
05/13/2005 (1:48 pm)
I removed player from the mission, I've only got a camera as ControlObject.
Associate Kyle Carter