Rotating Orbit Camera around player
by Enel · in Torque 3D Professional · 06/23/2010 (3:20 am) · 1 replies
i add this code on script
but it is just look at Player object.
yaw & pitch of camera dosent work
and i change bottom code but rotation of camera dosent update
why dosent update camera rotation?
%this.setControlObject(%this.player); %this.setCameraObject(%this.camera); %this.setFirstPerson(false); %this.camera.setOrbitObject(%player, mDegToRad(50) @ " 0 0", 2, 15, 5);
but it is just look at Player object.
yaw & pitch of camera dosent work
and i change bottom code but rotation of camera dosent update
//void ClientProcessList::onTickObject
if( obj->mProcessTick ){
obj->processTick(movePtr);
con->getCameraObject()->processTick(movePtr);
}why dosent update camera rotation?
About the author
Torque Owner Enel
ENEL Indie studio
need to same update to SereverProcessList::onTickObject
if( obj->mProcessTick ){ obj->processTick(movePtr); con->getCameraObject()->processTick(movePtr); }:)