Panda3D
Public Member Functions | List of all members
BulletTranslationalLimitMotor Class Reference

Rotation Limit structure for generic joints. More...

Public Member Functions

 __init__ (const BulletTranslationalLimitMotor copy)
 
LVector3 getAccumulatedImpulse ()
 
LPoint3 getCurrentDiff ()
 
LVector3 getCurrentError ()
 
int getCurrentLimit (int axis)
 Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit. More...
 
bool getMotorEnabled (int axis)
 
bool isLimited (int axis)
 
 setDamping (float damping)
 
 setHighLimit (const LVecBase3 limit)
 
 setLowLimit (const LVecBase3 limit)
 
 setMaxMotorForce (const LVecBase3 force)
 
 setMotorEnabled (int axis, bool enable)
 
 setNormalCfm (const LVecBase3 cfm)
 
 setRestitution (float restitution)
 
 setSoftness (float softness)
 
 setStopCfm (const LVecBase3 cfm)
 
 setStopErp (const LVecBase3 erp)
 
 setTargetVelocity (const LVecBase3 velocity)
 

Detailed Description

Rotation Limit structure for generic joints.

Member Function Documentation

◆ __init__()

__init__ ( const BulletTranslationalLimitMotor  copy)

◆ getAccumulatedImpulse()

LVector3 getAccumulatedImpulse ( )

◆ getCurrentDiff()

LPoint3 getCurrentDiff ( )

◆ getCurrentError()

LVector3 getCurrentError ( )

◆ getCurrentLimit()

int getCurrentLimit ( int  axis)

Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit.

◆ getMotorEnabled()

bool getMotorEnabled ( int  axis)

◆ isLimited()

bool isLimited ( int  axis)

◆ setDamping()

setDamping ( float  damping)

◆ setHighLimit()

setHighLimit ( const LVecBase3  limit)

◆ setLowLimit()

setLowLimit ( const LVecBase3  limit)

◆ setMaxMotorForce()

setMaxMotorForce ( const LVecBase3  force)

◆ setMotorEnabled()

setMotorEnabled ( int  axis,
bool  enable 
)

◆ setNormalCfm()

setNormalCfm ( const LVecBase3  cfm)

◆ setRestitution()

setRestitution ( float  restitution)

◆ setSoftness()

setSoftness ( float  softness)

◆ setStopCfm()

setStopCfm ( const LVecBase3  cfm)

◆ setStopErp()

setStopErp ( const LVecBase3  erp)

◆ setTargetVelocity()

setTargetVelocity ( const LVecBase3  velocity)