From 47c7266522ac4c9e35a8aa227a6289fa7e50a7ad Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Wed, 8 Aug 2012 01:29:20 +0000 Subject: Accidentally did a commit when I wanted to revert... (ignore my last revision) --- source/gameengine/Ketsji/KX_GameObject.cpp | 13 ------------- source/gameengine/Ketsji/KX_GameObject.h | 11 ----------- 2 files changed, 24 deletions(-) (limited to 'source/gameengine/Ketsji') diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 5b8d5fbfe1f..04a806dfd92 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -481,19 +481,6 @@ void KX_GameObject::ActivateGraphicController(bool recurse) } } -void KX_GameObject::SetUserCollisionGroup(short group) -{ - m_userCollisionGroup = group; -} -void KX_GameObject::SetUserCollisionMask(short mask) -{ - m_userCollisionMask = mask; -} - -bool KX_GameObject::CheckCollision(KX_GameObject* other) -{ - return this->m_userCollisionGroup & other->m_userCollisionMask; -} CValue* KX_GameObject::GetReplica() { diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 569a4a2b2a1..2b0d13ff2f7 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -98,10 +98,6 @@ protected: bool m_bIsNegativeScaling; MT_Vector4 m_objectColor; - // Bit fields for user control over physics collisions - short m_userCollisionGroup; - short m_userCollisionMask; - // visible = user setting // culled = while rendering, depending on camera bool m_bVisible; @@ -468,13 +464,6 @@ public: * @add/remove the graphic controller to the physic system */ void ActivateGraphicController(bool recurse); - - void SetUserCollisionGroup(short filter); - void SetUserCollisionMask(short mask); - /** - * Extra broadphase check for user controllable collisions - */ - bool CheckCollision(KX_GameObject *other); /** * \section Coordinate system manipulation functions -- cgit v1.2.3