BUG? Beta 2: onWorldLimit never fires?
by Jason Cahill · in Torque Game Builder · 05/03/2006 (2:52 pm) · 3 replies
The following code never seems to fire:
Even though I have a number of sprites set with:
And the sprites do, in fact, work and bounce at the world limits... anyone have this working?
function t2dSceneObject::onWorldLimit(%srcObj, %limitMode, %limit)
{
echo("WORLD LIMIT!");
}Even though I have a number of sprites set with:
%sprite.setWorldLimit(bounce, "-47.5 -29.5 47.5 34.5");
And the sprites do, in fact, work and bounce at the world limits... anyone have this working?
About the author
Torque 3D Owner Matthew Langley
Torque