mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 23:08:31 +00:00
fix: laggy property models (and probably more) (#1646)
* fix laggy property models (and probably more) global fix correcting the initial physics motion state from 0 to 5 (confirm in client). packet captures from a few worlds (didnt scan more than 5 files) show that the value for simple physics was either 5, or 4 for property models, or 1 for property models with behaviors. properties with pre-built models no longer lag and values of physics types should be correct across the board * will test this briefly
This commit is contained in:
@@ -102,7 +102,9 @@ private:
|
||||
/**
|
||||
* The current physics motion state
|
||||
*/
|
||||
uint32_t m_PhysicsMotionState = 0;
|
||||
uint32_t m_PhysicsMotionState = 5;
|
||||
|
||||
bool m_DirtyPhysicsMotionState = true;
|
||||
|
||||
/**
|
||||
* Whether or not the entity is climbable
|
||||
|
Reference in New Issue
Block a user