mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
PhysX 3.4 implementation
This commit is contained in:
parent
1ef75b411c
commit
f2dc291cf5
15 changed files with 527 additions and 418 deletions
|
|
@ -26,6 +26,8 @@
|
|||
//Physics timing
|
||||
F32 PhysicsWorld::smPhysicsStepTime = 1.0f / 60.f; //default 60fps
|
||||
U32 PhysicsWorld::smPhysicsMaxSubSteps = 4;
|
||||
//Gpu acceleration
|
||||
bool PhysicsWorld::smGpuEnabled = false;
|
||||
|
||||
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