@ -547,6 +547,12 @@ namespace Physic
#endif
};
std::string PhysicEngine::sphereTest(float radius,btVector3& pos)
{
}
std::vector<std::string> PhysicEngine::getCollisions(const std::string& name)
RigidBody* body = getRigidBody(name);
@ -306,6 +306,8 @@ namespace Physic
std::pair<bool, float> sphereCast (float radius, btVector3& from, btVector3& to);
///< @return (hit, relative distance)
std::string sphereTest(float radius,btVector3& pos);
std::vector<std::string> getCollisions(const std::string& name);
//event list of non player object