6 #include "RbMovableItem.h"
9 #include "RbMotorizedJoint.h"
10 #include "RbRigidBody.h"
13 #include "RbSimulator.h"
37 {
Std_TraceMsg(0,
"Caught Error in desctructor of RbSpring/\r\n",
"", -1,
false,
true);}
42 Spring::CreateJoints();
43 RbLine::CreateParts();
48 Spring::ResetSimulation();
49 RbLine::ResetSimulation();
52 void RbSpring::AfterResetSimulation()
54 Spring::AfterResetSimulation();
55 RbLine::AfterResetSimulation();
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 StepSimulation()
Step the simulation for this object.
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 CalculateTension()
Calculates the tension.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
float m_fltTension
The current force being applied by the spring.