Physics3D/RigidBody3D: Add simulation property

This commit is contained in:
Lynix
2017-12-10 13:35:58 +01:00
parent b8e447e4fe
commit 33b3b2feaf
3 changed files with 13 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ namespace Nz
void AddTorque(const Vector3f& torque, CoordSys coordSys = CoordSys_Global);
void EnableAutoSleep(bool autoSleep);
void EnableSimulation(bool simulation);
Boxf GetAABB() const;
Vector3f GetAngularDamping() const;
@@ -53,6 +54,7 @@ namespace Nz
bool IsAutoSleepEnabled() const;
bool IsMoveable() const;
bool IsSimulationEnabled() const;
bool IsSleeping() const;
void SetAngularDamping(const Nz::Vector3f& angularDamping);