From 8cae65978611476d0da215acf61819a905c68267 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Fri, 14 Jun 2013 12:04:46 +0000 Subject: Add an option to disable object <-> object collision for Lua entities --- src/clientobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/clientobject.h') diff --git a/src/clientobject.h b/src/clientobject.h index 8cbf3d60b..fb5cb29f4 100644 --- a/src/clientobject.h +++ b/src/clientobject.h @@ -56,6 +56,7 @@ public: virtual v3s16 getLightPosition(){return v3s16(0,0,0);} virtual core::aabbox3d* getSelectionBox(){return NULL;} virtual core::aabbox3d* getCollisionBox(){return NULL;} + virtual bool collideWithObjects(){return false;} virtual v3f getPosition(){return v3f(0,0,0);} virtual scene::IMeshSceneNode *getMeshSceneNode(){return NULL;} virtual scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode(){return NULL;} -- cgit v1.2.3