Game Development Community

StartCameraMove()

by Jason McIntosh · in Torque Game Builder · 03/09/2005 (8:27 am) · 3 replies

Here's what I've done:
mySceneWindow2D.setCurrentCameraZoom( 1 );
mySceneWindow2D.setTargetCameraZoom( 1.5 );
mySceneWindow2D.startCameraMove( 500 );
But nothing happens. What am I missing?

#1
03/09/2005 (9:22 am)
All times in T2D are in seconds so that's 500 seconds!

This can be confusing because the schedule command is in milliseconds but has always been that way and isn't as user-friendly.

- Melv.
#2
03/09/2005 (11:19 am)
Doh! Ok, I bet that will fix it. Thanks! (Maybe the docs could be more specific on that?)
#3
03/09/2005 (11:42 am)
Agreed. Will try to highlight that. :)

- Melv.