OgreRefApp::HingeJoint Class Reference

#include <OgreRefAppJointSubtypes.h>

Inheritance diagram for OgreRefApp::HingeJoint:

Inheritance graph
[legend]
Collaboration diagram for OgreRefApp::HingeJoint:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void setAnchorPosition (const Vector3 &point)
void setAxes (const Vector3 &primaryAxis, const Vector3 &secondaryAxis=Vector3::ZERO)


Detailed Description

Implementation of hinge joint.

Member Function Documentation

void OgreRefApp::HingeJoint::setAnchorPosition ( const Vector3 &  point  )  [virtual]

Set the anchor point of this joint.

Implements OgreRefApp::Joint.

void OgreRefApp::HingeJoint::setAxes ( const Vector3 &  primaryAxis,
const Vector3 &  secondaryAxis = Vector3::ZERO 
) [virtual]

Sets the axes for this joint.

Remarks:
The meaning of axes for a joint depends on it's type:
  • For JT_BALL, it has no meaning and you don't need to call it.
  • For JT_SLIDER, only one is applicable and it's the axis along which the slide occurs.
  • For JT_HINGE, only one is applicable and it's the hinge axis.
  • For JT_UNIVERSAL, and JT_HINGE2 it's the 2 hinge axes.

Implements OgreRefApp::Joint.


The documentation for this class was generated from the following files:

Generated on Sun Jun 15 18:43:30 2008 for SpadeShip Project by  doxygen 1.5.5