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

Rotation Limit structure for generic joints. More...

#include <pandadoc.hpp>

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.
 
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)
 

Public Attributes

LVector3 accumulated_impulse
 
LPoint3 current_diff
 
LVector3 current_error
 

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)

Member Data Documentation

◆ accumulated_impulse

LVector3 accumulated_impulse

◆ current_diff

LPoint3 current_diff

◆ current_error

LVector3 current_error