Panda3D
|
Rotation Limit structure for generic joints. More...
#include "bulletRotationalLimitMotor.h"
Public Member Functions | |
BulletRotationalLimitMotor (btRotationalLimitMotor &motor) | |
BulletRotationalLimitMotor (const BulletRotationalLimitMotor ©) | |
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. | |
get_current_position | |
get_motor_enabled | |
is_limited | |
set_motor_enabled | |
Rotation Limit structure for generic joints.
Definition at line 27 of file bulletRotationalLimitMotor.h.
BulletRotationalLimitMotor::BulletRotationalLimitMotor | ( | const BulletRotationalLimitMotor & | copy | ) |
Definition at line 30 of file bulletRotationalLimitMotor.cxx.
|
inline |
Definition at line 17 of file bulletRotationalLimitMotor.I.
BulletRotationalLimitMotor::BulletRotationalLimitMotor | ( | btRotationalLimitMotor & | motor | ) |
Definition at line 21 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_bounce | ( | PN_stdfloat | bounce | ) |
Definition at line 138 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_damping | ( | PN_stdfloat | damping | ) |
Definition at line 118 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_high_limit | ( | PN_stdfloat | limit | ) |
Definition at line 78 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_low_limit | ( | PN_stdfloat | limit | ) |
Definition at line 68 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_max_limit_force | ( | PN_stdfloat | force | ) |
Definition at line 108 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_max_motor_force | ( | PN_stdfloat | force | ) |
Definition at line 98 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_normal_cfm | ( | PN_stdfloat | cfm | ) |
Definition at line 148 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_softness | ( | PN_stdfloat | softness | ) |
Definition at line 128 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_stop_cfm | ( | PN_stdfloat | cfm | ) |
Definition at line 158 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_stop_erp | ( | PN_stdfloat | erp | ) |
Definition at line 168 of file bulletRotationalLimitMotor.cxx.
void BulletRotationalLimitMotor::set_target_velocity | ( | PN_stdfloat | velocity | ) |
Definition at line 88 of file bulletRotationalLimitMotor.cxx.
PN_stdfloat BulletRotationalLimitMotor::get_accumulated_impulse |
Definition at line 58 of file bulletRotationalLimitMotor.h.
PN_stdfloat BulletRotationalLimitMotor::get_current_error |
Definition at line 56 of file bulletRotationalLimitMotor.h.
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.
PN_stdfloat BulletRotationalLimitMotor::get_current_position |
Definition at line 57 of file bulletRotationalLimitMotor.h.
bool BulletRotationalLimitMotor::get_motor_enabled |
Definition at line 54 of file bulletRotationalLimitMotor.h.
bool BulletRotationalLimitMotor::is_limited |
Definition at line 53 of file bulletRotationalLimitMotor.h.
void BulletRotationalLimitMotor::set_motor_enabled |
Definition at line 54 of file bulletRotationalLimitMotor.h.