Added physics function to control sleeping behavior

This commit is contained in:
Lynix
2019-12-19 21:33:56 +01:00
parent 86fbae554c
commit 3b43f57192
9 changed files with 64 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ namespace Ndk
inline void SetGravity(const Nz::Vector2f& gravity);
inline void SetIterationCount(std::size_t iterationCount);
inline void SetMaxStepCount(std::size_t maxStepCount);
inline void SetSleepTime(float sleepTime);
inline void SetStepSize(float stepSize);
inline void UseSpatialHash(float cellSize, std::size_t entityCount);