Panda3D
|
A point in plane joint constrains a point on one body to only move inside a plane attached to another body. More...
#include "physxPointInPlaneJoint.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
void | link (NxJoint *jointPtr) |
void | load_from_desc (const PhysxPointInPlaneJointDesc &jointDesc) |
Loads the entire state of the joint from a descriptor with a single call. | |
NxJoint * | ptr () const |
void | save_to_desc (PhysxPointInPlaneJointDesc &jointDesc) const |
Saves the state of the joint object to a descriptor. | |
void | unlink () |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. |
A point in plane joint constrains a point on one body to only move inside a plane attached to another body.
The starting point of the point is defined as the anchor point. The plane through this point is specified by its normal which is the joint axis vector.
Definition at line 35 of file physxPointInPlaneJoint.h.
static void PhysxPointInPlaneJoint::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from PhysxJoint.
Definition at line 59 of file physxPointInPlaneJoint.h.
References PhysxJoint::init_type().
void PhysxPointInPlaneJoint::load_from_desc | ( | const PhysxPointInPlaneJointDesc & | jointDesc | ) |
Loads the entire state of the joint from a descriptor with a single call.
Definition at line 73 of file physxPointInPlaneJoint.cxx.
void PhysxPointInPlaneJoint::save_to_desc | ( | PhysxPointInPlaneJointDesc & | jointDesc | ) | const |
Saves the state of the joint object to a descriptor.
Definition at line 60 of file physxPointInPlaneJoint.cxx.