mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Physics timing
This commit is contained in:
parent
8a39f5e7b6
commit
714362fc60
5 changed files with 13 additions and 23 deletions
|
|
@ -23,6 +23,9 @@
|
|||
#include "platform/platform.h"
|
||||
#include "T3D/physics/physicsWorld.h"
|
||||
|
||||
//Physics timing
|
||||
F32 PhysicsWorld::smPhysicsStepTime = 1.0f / 60.f; //default 60fps
|
||||
U32 PhysicsWorld::smPhysicsMaxSubSteps = 4;
|
||||
|
||||
PhysicsWorld::PhysicsWorld()
|
||||
: mGravity( 0, 0, -20.0f ) // NOTE: This matches the gravity used for player objects.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue