38 virtual void SetFrictionProperties() = 0;
46 virtual bool Enabled();
47 virtual void Enabled(
bool bVal);
49 virtual float Coefficient();
50 virtual void Coefficient(
float fltVal);
52 virtual float MaxForce();
53 virtual void MaxForce(
float fltVal,
bool bUseScaling =
true);
56 virtual void Loss(
float fltVal,
bool bUseScaling =
true);
58 virtual bool Proportional();
59 virtual void Proportional(
bool bVal);
61 virtual float StaticFrictionScale();
62 virtual void StaticFrictionScale(
float fltVal);
64 virtual void CreateDefaultUnits();
65 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
66 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
68 virtual void Load(CStdXml &oXml);
Root namespace for the base simulation library for AnimatLab.
float m_fltStaticFrictionScale
The scale ration of static to dynamic friction.
float m_fltCoefficient
The friction coefficient for this constraint.
bool m_bProportional
Tells if the friction force should be scaled based on the force applied to the joint.
float m_fltMaxForce
The maximum force for this constraint.
float m_fltLoss
The velocity loss for this constraint.