7 #include "BlMotorizedJoint.h"
8 #include "BlRigidBody.h"
11 #include "BlSimulator.h"
37 {
Std_TraceMsg(0,
"Caught Error in desctructor of BlSpring/\r\n",
"", -1,
false,
true);}
42 Spring::CreateJoints();
43 BlLine::CreateParts();
50 Spring::ResetSimulation();
51 BlLine::ResetSimulation();
54 void BlSpring::AfterResetSimulation()
56 Spring::AfterResetSimulation();
57 BlLine::AfterResetSimulation();
virtual void StepSimulation()
Step the simulation for this object.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
virtual void CreateJoints()
Allows the rigid body to create its joints using the chosen physics engine.
virtual void ResetSimulation()
Resets the simulation back to time 0.
virtual void CalculateTension()
Calculates the tension.
float m_fltTension
The current force being applied by the spring.