mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Move player collisionbox to player class
This commit is contained in:
parent
386108f982
commit
88ffb3f73b
4 changed files with 15 additions and 19 deletions
|
@ -180,6 +180,10 @@ public:
|
|||
return m_name;
|
||||
}
|
||||
|
||||
core::aabbox3d<f32> getCollisionbox() {
|
||||
return m_collisionbox;
|
||||
}
|
||||
|
||||
virtual bool isLocal() const
|
||||
{ return false; }
|
||||
virtual PlayerSAO *getPlayerSAO()
|
||||
|
@ -255,6 +259,7 @@ protected:
|
|||
f32 m_yaw;
|
||||
v3f m_speed;
|
||||
v3f m_position;
|
||||
core::aabbox3d<f32> m_collisionbox;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue