Loop
by RajeshKumarr · in General Discussion · 05/06/2009 (10:09 pm) · 2 replies
Hi to all
Which function in ForgeDemo source code(TorqueScript) called repeatedly (like while loop in win32).
Thanks in advance
---Rajesh---
Which function in ForgeDemo source code(TorqueScript) called repeatedly (like while loop in win32).
Thanks in advance
---Rajesh---
About the author
#2
Actually i tried to parent a object with camera position so if
camera moves means object have to move with camera.How can I achieve this.Please guide me Thanks in advance.
---Rajesh---
05/07/2009 (5:45 am)
Thanks DanielActually i tried to parent a object with camera position so if
camera moves means object have to move with camera.How can I achieve this.Please guide me Thanks in advance.
---Rajesh---
Torque Owner Daniel Buckmaster
T3D Steering Committee
Or, if that's not the question - you can use while, for and (I think) do-while syntax in TorqueScript, but just for tasks you need to iterate over. If you want a function to be called repeatedly, search for 'schedule'.