mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Player collisionbox: Make settable
Breaks compatibility with old clients.
This commit is contained in:
parent
5045bdc6d8
commit
49920cfe8d
4 changed files with 13 additions and 8 deletions
|
@ -140,6 +140,8 @@ public:
|
|||
v3f getEyePosition() const { return m_position + getEyeOffset(); }
|
||||
v3f getEyeOffset() const;
|
||||
|
||||
void setCollisionbox(const aabb3f &box) { m_collisionbox = box; }
|
||||
|
||||
private:
|
||||
void accelerateHorizontal(const v3f &target_speed, const f32 max_increase);
|
||||
void accelerateVertical(const v3f &target_speed, const f32 max_increase);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue