Panda3D
Public Member Functions | Static Public Member Functions
PhysxCylindricalJoint Class Reference

Cylindrical Joints permit relative translational movement between two bodies along an axis, and also relative rotation along the axis. More...

#include "physxCylindricalJoint.h"

Inheritance diagram for PhysxCylindricalJoint:
PhysxJoint PhysxObject PhysxEnums TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
void link (NxJoint *jointPtr)
void load_from_desc (const PhysxCylindricalJointDesc &jointDesc)
 Loads the entire state of the joint from a descriptor with a single call.
NxJoint * ptr () const
void save_to_desc (PhysxCylindricalJointDesc &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.

Detailed Description

Cylindrical Joints permit relative translational movement between two bodies along an axis, and also relative rotation along the axis.

Definition at line 31 of file physxCylindricalJoint.h.


Member Function Documentation

static void PhysxCylindricalJoint::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 55 of file physxCylindricalJoint.h.

References PhysxJoint::init_type().

Loads the entire state of the joint from a descriptor with a single call.

Definition at line 73 of file physxCylindricalJoint.cxx.

Saves the state of the joint object to a descriptor.

Definition at line 60 of file physxCylindricalJoint.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations