PixelLightAPI
.
|
Abstract PL physics corkscrew joint. More...
#include <JointCorkscrew.h>
Public Member Functions | |
virtual PLPHYSICS_API | ~JointCorkscrew () |
Destructor. | |
PLPHYSICS_API const PLMath::Vector3 & | GetPivotPoint () const |
Returns the origin of the corkscrew in world space. | |
PLPHYSICS_API const PLMath::Vector3 & | GetPinDir () const |
Returns the line of action of the corkscrew in world space. | |
Protected Member Functions | |
PLPHYSICS_API | JointCorkscrew (World &cWorld, JointImpl &cJointImpl, Body *pParentBody, Body *pChildBody, const PLMath::Vector3 &vPivotPoint, const PLMath::Vector3 &vPinDir) |
Constructor. | |
Protected Attributes | |
PLMath::Vector3 | m_vPivotPoint |
PLMath::Vector3 | m_vPinDir |
Abstract PL physics corkscrew joint.
virtual PLPHYSICS_API PLPhysics::JointCorkscrew::~JointCorkscrew | ( | ) | [virtual] |
Destructor.
PLPHYSICS_API PLPhysics::JointCorkscrew::JointCorkscrew | ( | World & | cWorld, |
JointImpl & | cJointImpl, | ||
Body * | pParentBody, | ||
Body * | pChildBody, | ||
const PLMath::Vector3 & | vPivotPoint, | ||
const PLMath::Vector3 & | vPinDir | ||
) | [protected] |
Constructor.
[in] | cWorld | World this joint is in |
[in] | cJointImpl | Reference to the physics API specific joint implementation |
[in] | pParentBody | Pointer to the parent rigid body, can be a null pointer |
[in] | pChildBody | Pointer to the attached rigid body, can be a null pointer |
[in] | vPivotPoint | Origin of the corkscrew in world space |
[in] | vPinDir | The line of action of the corkscrew in world space |
PLPHYSICS_API const PLMath::Vector3& PLPhysics::JointCorkscrew::GetPivotPoint | ( | ) | const |
Returns the origin of the corkscrew in world space.
PLPHYSICS_API const PLMath::Vector3& PLPhysics::JointCorkscrew::GetPinDir | ( | ) | const |
Returns the line of action of the corkscrew in world space.
Origin of the corkscrew in world space
PLMath::Vector3 PLPhysics::JointCorkscrew::m_vPinDir [protected] |
The line of action of the corkscrew in world space
|