mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add object's own position for each collision to moveresult (#14608)
This commit is contained in:
parent
d7f9da49eb
commit
af8cb63292
6 changed files with 18 additions and 6 deletions
|
@ -49,6 +49,7 @@ struct CollisionInfo
|
|||
CollisionAxis axis = COLLISION_AXIS_NONE;
|
||||
v3s16 node_p = v3s16(-32768,-32768,-32768); // COLLISION_NODE
|
||||
ActiveObject *object = nullptr; // COLLISION_OBJECT
|
||||
v3f new_pos;
|
||||
v3f old_speed;
|
||||
v3f new_speed;
|
||||
int plane = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue