Camera Roll
by Viren Thambidorai · in Torque Game Engine Advanced · 10/11/2007 (4:53 am) · 1 replies
Hi all,
I want camera roll to be activated for torque camera ... looking at the code in Camera.h & cpp , i understood tht in setTransform function they have set value for y component to be zero!
Is it the right place am looking at first of all?? is this the value i need to tweak or its smthing else?
kindly help :)
thanks.
I want camera roll to be activated for torque camera ... looking at the code in Camera.h & cpp , i understood tht in setTransform function they have set value for y component to be zero!
Is it the right place am looking at first of all?? is this the value i need to tweak or its smthing else?
kindly help :)
thanks.
Torque 3D Owner Viren Thambidorai
U have to make follwing chnages in prder to get camera roll wrking for fly mode camera.
In SDK\game\camera.cpp -->
function processTick() after line add
again, now in writePacketData() right after line add same is the thing for readPacketdata()!
now in packUpdate() & unpackUpdate() add at the end :)
dats it!