Panda3D
Public Member Functions | Public Attributes | 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)
 

Public Attributes

float accumulated_impulse
 
float current_error
 
int current_limit
 Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit. More...
 
float current_position
 
bool limited
 
bool motor_enabled
 

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)

Member Data Documentation

◆ accumulated_impulse

float accumulated_impulse

◆ current_error

float current_error

◆ current_limit

int current_limit

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

◆ current_position

float current_position

◆ limited

bool limited

◆ motor_enabled

bool motor_enabled