will this be called once or forever throughout the level?
by rennie moffat · in Torque Game Builder · 09/28/2009 (10:37 pm) · 2 replies
function t2dSceneWindow::onLevelLoaded()
{
getCurrentCameraPosition();
}I need this to be called throughout my level. good Idea?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
:?
09/29/2009 (12:16 am)
So for instance. What I am building now is my world limit. So I have a getCurrentCameraPosition, and getPosition(%this.payer). I am relating these two but since my camera is moving its needs to be the most up to date, current, every xmilliseconds. If so, which situation would uou plug into? In other words how do I update.getCurrentCameraPosition? Is it as simple as function onUpdate()
{
%this.getcurrentCameraPosition()
}:?
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders