mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make the player collisionbox settable
This commit is contained in:
parent
43d1f375d1
commit
b6f4a9c7e1
4 changed files with 14 additions and 2 deletions
|
@ -137,6 +137,8 @@ public:
|
|||
v3f getEyePosition() const { return m_position + getEyeOffset(); }
|
||||
v3f getEyeOffset() const;
|
||||
|
||||
void setCollisionbox(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