40 #ifndef _physicspoint2pointconstraint_cpp
41 #define _physicspoint2pointconstraint_cpp
43 #include "Physics/point2pointconstraint.h"
44 #include "Physics/rigidproxy.h"
46 #include "stringtool.h"
49 #include <btBulletDynamicsCommon.h>
97 { this->
Point2Point->m_setting.m_impulseClamp = Clamping; }
100 {
return this->
Point2Point->m_setting.m_impulseClamp; }
103 { this->
Point2Point->m_setting.m_damping = Damping; }
120 Results.push_back(Con_Stop_ERP);
122 Results.push_back(Con_Stop_CFM);
130 Results.push_back(-1);
146 return ( (
Con_ERP==Param||Con_Stop_ERP==Param) && this->
Point2Point->getFlags() & BT_P2P_FLAGS_ERP ) ||
147 ( (
Con_CFM==Param||Con_Stop_CFM==Param) && this->
Point2Point->getFlags() & BT_P2P_FLAGS_CFM ) ;
161 if( VerAttr && TauAttr && ClaAttr && DamAttr )
219 {
return String(
"Point2PointConstraint"); }