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

A D6 joint is a general constraint between two actors. More...

#include "physxD6Joint.h"

Inheritance diagram for PhysxD6Joint:
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 PhysxD6JointDesc &jointDesc)
 Loads the entire state of the joint from a descriptor with a single call.
NxJoint * ptr () const
void save_to_desc (PhysxD6JointDesc &jointDesc) const
 Saves the state of the joint object to a descriptor.
void set_drive_angular_velocity (const LVector3f &v)
void set_drive_linear_velocity (const LVector3f &v)
void set_drive_orientation (const LQuaternionf &quat)
void set_drive_position (const LPoint3f &pos)
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

A D6 joint is a general constraint between two actors.

It allows the user to individually define the linear and rotational degrees of freedom. It also allows the user to configure the joint with limits and driven degrees of freedom as they wish.

Definition at line 33 of file physxD6Joint.h.


Member Function Documentation

static void PhysxD6Joint::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 62 of file physxD6Joint.h.

References PhysxJoint::init_type().

void PhysxD6Joint::load_from_desc ( const PhysxD6JointDesc jointDesc)

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

Definition at line 73 of file physxD6Joint.cxx.

void PhysxD6Joint::save_to_desc ( PhysxD6JointDesc jointDesc) const

Saves the state of the joint object to a descriptor.

Definition at line 60 of file physxD6Joint.cxx.


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