delaying jump collision action instead of randoming
This commit is contained in:
parent
db3cf85758
commit
5174799000
2 changed files with 5 additions and 1 deletions
|
|
@ -848,6 +848,7 @@ private:
|
|||
float m_firstCollideTime; // time of first collision
|
||||
float m_probeTime; // time of probing different moves
|
||||
float m_lastCollTime; // time until next collision check
|
||||
float m_jumpStateTimer; // timer for jumping collision check
|
||||
|
||||
unsigned int m_collisionProbeBits; // bits of possible collision moves
|
||||
unsigned int m_collideMoves[MAX_COLLIDE_MOVES]; // sorted array of movements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue