mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Relatively snappy object-ground collision detection
This commit is contained in:
parent
94feb62b08
commit
290e921920
9 changed files with 81 additions and 31 deletions
|
@ -28,9 +28,11 @@ class IGameDef;
|
|||
struct collisionMoveResult
|
||||
{
|
||||
bool touching_ground;
|
||||
bool collides;
|
||||
|
||||
collisionMoveResult():
|
||||
touching_ground(false)
|
||||
touching_ground(false),
|
||||
collides(false)
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue