BGE: ray casting works on soft body, the hit polygon is also returned. The modificati...
[blender.git] / extern / bullet2 / src / BulletCollision / BroadphaseCollision / btBroadphaseProxy.h
index be261ec408013cf4abcd4010c083182466958ef3..a9f3223798b7c880ac63600b2a0be35545d93877 100644 (file)
@@ -152,6 +152,10 @@ BT_DECLARE_ALIGNED_ALLOCATOR();
        {
                return (proxyType == STATIC_PLANE_PROXYTYPE);
        }
+       static SIMD_FORCE_INLINE bool isSoftBody(int proxyType)
+       {
+               return (proxyType == SOFTBODY_SHAPE_PROXYTYPE);
+       }
        
 }
 ;