setScenePhysicsFPSActive Unknown Command
by Andrew "Blorf" Hume · in Torque Game Builder · 05/16/2009 (1:09 pm) · 1 replies
I am using TGB 1.7.4, unmodified
I call the following script in my startGame function:
Unfortunatley, when I run the game I get the following result:
This command is critical to my development progress. Please let me know what has happened to it/what it has been replaced with. My searches have revealed nothing. :(
Thank you.
I call the following script in my startGame function:
%level=expandFilename("~/data/levels/baselevel.t2d");
sceneWindow2D.loadLevel(%level);
$thescenegraph = sceneWindow2D.getSceneGraph();
$thescenegraph.setScenePhysicsFPSActive(1);
$thescenegraph.setScenePhysicsLimitFPS(20);
$thescenegraph.setScenePhysicsTargetFPS(60);
$thescenegraph.setScenePhysicsMaxIterations(2);Unfortunatley, when I run the game I get the following result:
game/gameScripts/game.cs (38): Unknown command setScenePhysicsFPSActive. Object (1353) t2dSceneGraph -> SimSet -> SimObject game/gameScripts/game.cs (39): Unknown command setScenePhysicsLimitFPS. Object (1353) t2dSceneGraph -> SimSet -> SimObject game/gameScripts/game.cs (40): Unknown command setScenePhysicsTargetFPS. Object (1353) t2dSceneGraph -> SimSet -> SimObject game/gameScripts/game.cs (41): Unknown command setScenePhysicsMaxIterations. Object (1353) t2dSceneGraph -> SimSet -> SimObject
This command is critical to my development progress. Please let me know what has happened to it/what it has been replaced with. My searches have revealed nothing. :(
Thank you.
Associate Melv May
If you need more specific information then please ask.