8 #include "VsMovableItem.h"
11 #include "VsMotorizedJoint.h"
12 #include "VsRigidBody.h"
15 #include "VsSimulator.h"
16 #include "VsOsgUserData.h"
17 #include "VsOsgUserDataVisitor.h"
18 #include "VsDragger.h"
36 m_bCullBackfaces =
true;
53 {
Std_TraceMsg(0,
"Caught Error in desctructor of VsPlane/\r\n",
"", -1,
false,
true);}
56 void VsPlane::CreateGraphicsGeometry()
61 void VsPlane::CreatePhysicsGeometry()
64 m_vxGeometry =
new VxPlane();
72 m_eControlType = VxEntity::kControlNode;
74 VsRigidBody::CreateItem();
76 VsRigidBody::SetBody();
79 void VsPlane::ResizePhysicsGeometry()
82 m_vxGeometry =
new VxPlane();
85 void VsPlane::Physics_FluidDataChanged()
virtual bool IsCollisionObject()
Query if this object is collision object.
virtual float GridY()
Gets the length of a segment for the y dimension of the plane.
virtual void CreateParts()
Allows the rigid body to create its parts using the chosen physics engine.
virtual ~VsPlane()
Destructor.
virtual float CornerX()
Gets the corner x coordinate.
virtual float GridX()
Gets the width of a segment for the x dimension of the plane.
Declares the vortex plane class.
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 float CornerY()
Gets the corner y coordinate.
VsPlane()
Default constructor.
Declares the vortex structure class.