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

Rotation Limit structure for generic joints. More...

Public Member Functions

 __init__ (const BulletRotationalLimitMotor copy)
 
float getAccumulatedImpulse ()
 
float getCurrentError ()
 
int getCurrentLimit ()
 Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit. More...
 
float getCurrentPosition ()
 
bool getMotorEnabled ()
 
bool isLimited ()
 
 setBounce (float bounce)
 
 setDamping (float damping)
 
 setHighLimit (float limit)
 
 setLowLimit (float limit)
 
 setMaxLimitForce (float force)
 
 setMaxMotorForce (float force)
 
 setMotorEnabled (bool enable)
 
 setNormalCfm (float cfm)
 
 setSoftness (float softness)
 
 setStopCfm (float cfm)
 
 setStopErp (float erp)
 
 setTargetVelocity (float velocity)
 

Detailed Description

Rotation Limit structure for generic joints.

Member Function Documentation

◆ __init__()

__init__ ( const BulletRotationalLimitMotor  copy)

◆ getAccumulatedImpulse()

float getAccumulatedImpulse ( )

◆ getCurrentError()

float getCurrentError ( )

◆ getCurrentLimit()

int getCurrentLimit ( )

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

◆ getCurrentPosition()

float getCurrentPosition ( )

◆ getMotorEnabled()

bool getMotorEnabled ( )

◆ isLimited()

bool isLimited ( )

◆ setBounce()

setBounce ( float  bounce)

◆ setDamping()

setDamping ( float  damping)

◆ setHighLimit()

setHighLimit ( float  limit)

◆ setLowLimit()

setLowLimit ( float  limit)

◆ setMaxLimitForce()

setMaxLimitForce ( float  force)

◆ setMaxMotorForce()

setMaxMotorForce ( float  force)

◆ setMotorEnabled()

setMotorEnabled ( bool  enable)

◆ setNormalCfm()

setNormalCfm ( float  cfm)

◆ setSoftness()

setSoftness ( float  softness)

◆ setStopCfm()

setStopCfm ( float  cfm)

◆ setStopErp()

setStopErp ( float  erp)

◆ setTargetVelocity()

setTargetVelocity ( float  velocity)