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

Rotation Limit structure for generic joints. More...

#include "bulletRotationalLimitMotor.h"

Public Member Functions

 BulletRotationalLimitMotor (const BulletRotationalLimitMotor &copy)
 
 BulletRotationalLimitMotor (btRotationalLimitMotor &motor)
 
PN_stdfloat get_accumulated_impulse () const
 
PN_stdfloat get_current_error () const
 
int get_current_limit () const
 
PN_stdfloat get_current_position () const
 
bool get_motor_enabled () const
 
bool is_limited () const
 
void set_bounce (PN_stdfloat bounce)
 
void set_damping (PN_stdfloat damping)
 
void set_high_limit (PN_stdfloat limit)
 
void set_low_limit (PN_stdfloat limit)
 
void set_max_limit_force (PN_stdfloat force)
 
void set_max_motor_force (PN_stdfloat force)
 
void set_motor_enabled (bool enable)
 
void set_normal_cfm (PN_stdfloat cfm)
 
void set_softness (PN_stdfloat softness)
 
void set_stop_cfm (PN_stdfloat cfm)
 
void set_stop_erp (PN_stdfloat erp)
 
void set_target_velocity (PN_stdfloat velocity)
 

Public Attributes

 get_accumulated_impulse
 
 get_current_error
 
 get_current_limit
 Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit. More...
 
 get_current_position
 
 get_motor_enabled
 
 is_limited
 
 set_motor_enabled
 

Detailed Description

Rotation Limit structure for generic joints.

Definition at line 27 of file bulletRotationalLimitMotor.h.

Member Data Documentation

◆ get_current_limit

int BulletRotationalLimitMotor::get_current_limit

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

Definition at line 55 of file bulletRotationalLimitMotor.h.


The documentation for this class was generated from the following files: