1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add an option to disable object <-> object collision for Lua entities

This commit is contained in:
PilzAdam 2013-06-14 12:04:46 +00:00 committed by RealBadAngel
parent 413f0d0353
commit 8cae659786
14 changed files with 50 additions and 5 deletions

View file

@ -62,6 +62,7 @@ public:
virtual u8 getType() const = 0;
virtual bool getCollisionBox(aabb3f *toset) = 0;
virtual bool collideWithObjects() = 0;
protected:
u16 m_id; // 0 is invalid, "no id"
};