OrbitObject camera distance
by Ivan Dendis · in Torque 3D Beginner · 03/02/2013 (1:56 pm) · 3 replies
Hello,
for several days now, I've been trying to figure out how to make orbitobject camera zoom in/out ( an rpg camera ). I understand that the is this variable called mCurOrbitDist in the camera object so I've made function so I can access and change it, but changing it does exactly nothing, while in OrbitObjectMode. However, after switching into OrbitPointMode it works, but then I cannot control the player model.
I'm sure this is something rather trivial, but I must be missing something important :(
Any help appreciated :)
for several days now, I've been trying to figure out how to make orbitobject camera zoom in/out ( an rpg camera ). I understand that the is this variable called mCurOrbitDist in the camera object so I've made function so I can access and change it, but changing it does exactly nothing, while in OrbitObjectMode. However, after switching into OrbitPointMode it works, but then I cannot control the player model.
I'm sure this is something rather trivial, but I must be missing something important :(
Any help appreciated :)
#2
03/03/2013 (3:30 am)
Thanks for a reply, but this is not exactly what I meant, because although the zoom works, I can no longer move my player using wsad. Is it because the control object has changed ? After setting control object back to player I can move him, BUT the zoom doesn't work again. Should I be just switching control objects all the time when I want to zoom or is there a better solution ?
#3
03/05/2013 (1:59 pm)
Anybody ? Please help me, I have no idea what to do. I tried switching control objects and it doesn't work either.
Torque Owner Richard Ranft
Roostertail Games