Game Development Community

Animating a spotlights position and rotation.

by 840LABS · in Torque 3D Professional · 01/27/2011 (5:25 pm) · 0 replies

Hello Community,

Does anyone out there have information on how to animate a spot lights position or rotation without having to write a script?

Or does a user have to animate spot lights using the setTransform command?

for example:

%SpotLight.setTransform(%x@" "@%y@" "@%z@" 0 0 0 0");

Is there an easier way to animate spot lights?

Thanks for the help!