Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
OdeAMotorJoint Class Reference

#include <pandadoc.hpp>

Inheritance diagram for OdeAMotorJoint:
OdeJoint TypedObject

Public Member Functions

 __init__ (OdeWorld world)
 
 __init__ (OdeWorld world, OdeJointGroup joint_group)
 
 addTorques (DReal torque1, DReal torque2, DReal torque3)
 
DReal getAngle (int anum)
 
DReal getAngleRate (int anum)
 
list getAxes ()
 
LVecBase3f getAxis (int anum)
 
int getAxisRel (int anum)
 
int getMode ()
 
int getNumAxes ()
 
DReal getParamBounce (int axis)
 
DReal getParamCFM (int axis)
 
DReal getParamFMax (int axis)
 
DReal getParamFudgeFactor (int axis)
 
DReal getParamHiStop (int axis)
 
DReal getParamLoStop (int axis)
 
DReal getParamStopCFM (int axis)
 
DReal getParamStopERP (int axis)
 
DReal getParamVel (int axis)
 
 setAngle (int anum, DReal angle)
 
 setAxis (int anum, int rel, const LVecBase3f axis)
 
 setAxis (int anum, int rel, DReal x, DReal y, DReal z)
 
 setMode (int mode)
 
 setNumAxes (int num)
 
 setParamBounce (int axis, DReal val)
 
 setParamCFM (int axis, DReal val)
 
 setParamFMax (int axis, DReal val)
 
 setParamFudgeFactor (int axis, DReal val)
 
 setParamHiStop (int axis, DReal val)
 
 setParamLoStop (int axis, DReal val)
 
 setParamStopCFM (int axis, DReal val)
 
 setParamStopERP (int axis, DReal val)
 
 setParamVel (int axis, DReal val)
 
- Public Member Functions inherited from OdeJoint
 attach (object body1, object body2)
 
 attachBodies (const OdeBody body1, const OdeBody body2)
 Attaches two OdeBody objects to this joint.
 
 attachBody (const OdeBody body, int index)
 Attaches a single OdeBody to this joint at the specified index (0 or 1).
 
int compareTo (const OdeJoint other)
 
object convert ()
 
OdeAMotorJoint convertToAMotor ()
 
OdeBallJoint convertToBall ()
 
OdeContactJoint convertToContact ()
 
OdeFixedJoint convertToFixed ()
 
OdeHingeJoint convertToHinge ()
 
OdeHinge2Joint convertToHinge2 ()
 
OdeLMotorJoint convertToLMotor ()
 
OdeNullJoint convertToNull ()
 
OdePlane2dJoint convertToPlane2d ()
 
OdeSliderJoint convertToSlider ()
 
OdeUniversalJoint convertToUniversal ()
 
 destroy ()
 
 detach ()
 
OdeBody getBody (int index)
 
OdeJointFeedback getFeedback ()
 
DJointID getId ()
 Returns the underlying dJointID.
 
int getJointType ()
 
bool isEmpty ()
 Returns true if the ID is 0, meaning the OdeJoint does not point to a valid joint.
 
bool operator== (const OdeJoint other)
 
 setFeedback (bool flag)
 
 setFeedback (OdeJointFeedback)
 
 write (Ostream out, unsigned int indent)
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly.
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type.
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from OdeJoint
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Types inherited from OdeJoint
enum  JointType {
  JT_none = 0 , JT_ball = 1 , JT_hinge = 2 , JT_slider = 3 ,
  JT_contact = 4 , JT_universal = 5 , JT_hinge2 = 6 , JT_fixed = 7 ,
  JT_null = 8 , JT_a_motor = 9 , JT_l_motor = 10 , JT_plane2d = 11
}
 
- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type.
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( OdeWorld world)

◆ __init__() [2/2]

__init__ ( OdeWorld world,
OdeJointGroup joint_group )

◆ addTorques()

addTorques ( DReal torque1,
DReal torque2,
DReal torque3 )

◆ getAngle()

DReal getAngle ( int anum)

◆ getAngleRate()

DReal getAngleRate ( int anum)

◆ getAxes()

list getAxes ( )

◆ getAxis()

LVecBase3f getAxis ( int anum)

◆ getAxisRel()

int getAxisRel ( int anum)

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getMode()

int getMode ( )

◆ getNumAxes()

int getNumAxes ( )

◆ getParamBounce()

DReal getParamBounce ( int axis)

◆ getParamCFM()

DReal getParamCFM ( int axis)

◆ getParamFMax()

DReal getParamFMax ( int axis)

◆ getParamFudgeFactor()

DReal getParamFudgeFactor ( int axis)

◆ getParamHiStop()

DReal getParamHiStop ( int axis)

◆ getParamLoStop()

DReal getParamLoStop ( int axis)

◆ getParamStopCFM()

DReal getParamStopCFM ( int axis)

◆ getParamStopERP()

DReal getParamStopERP ( int axis)

◆ getParamVel()

DReal getParamVel ( int axis)

◆ setAngle()

setAngle ( int anum,
DReal angle )

◆ setAxis() [1/2]

setAxis ( int anum,
int rel,
const LVecBase3f axis )

◆ setAxis() [2/2]

setAxis ( int anum,
int rel,
DReal x,
DReal y,
DReal z )

◆ setMode()

setMode ( int mode)

◆ setNumAxes()

setNumAxes ( int num)

◆ setParamBounce()

setParamBounce ( int axis,
DReal val )

◆ setParamCFM()

setParamCFM ( int axis,
DReal val )

◆ setParamFMax()

setParamFMax ( int axis,
DReal val )

◆ setParamFudgeFactor()

setParamFudgeFactor ( int axis,
DReal val )

◆ setParamHiStop()

setParamHiStop ( int axis,
DReal val )

◆ setParamLoStop()

setParamLoStop ( int axis,
DReal val )

◆ setParamStopCFM()

setParamStopCFM ( int axis,
DReal val )

◆ setParamStopERP()

setParamStopERP ( int axis,
DReal val )

◆ setParamVel()

setParamVel ( int axis,
DReal val )