Panda3D
|
Rotation Limit structure for generic joints. More...
#include "bulletTranslationalLimitMotor.h"
Public Member Functions | |
BulletTranslationalLimitMotor (btTranslationalLimitMotor &motor) | |
BulletTranslationalLimitMotor (const BulletTranslationalLimitMotor ©) | |
LVector3 | get_accumulated_impulse () const |
LPoint3 | get_current_diff () const |
LVector3 | get_current_error () const |
int | get_current_limit (int axis) const |
Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit. | |
bool | get_motor_enabled (int axis) const |
bool | is_limited (int axis) const |
void | set_damping (PN_stdfloat damping) |
void | set_high_limit (const LVecBase3 &limit) |
void | set_low_limit (const LVecBase3 &limit) |
void | set_max_motor_force (const LVecBase3 &force) |
void | set_motor_enabled (int axis, bool enable) |
void | set_normal_cfm (const LVecBase3 &cfm) |
void | set_restitution (PN_stdfloat restitution) |
void | set_softness (PN_stdfloat softness) |
void | set_stop_cfm (const LVecBase3 &cfm) |
void | set_stop_erp (const LVecBase3 &erp) |
void | set_target_velocity (const LVecBase3 &velocity) |
Public Attributes | |
get_accumulated_impulse | |
get_current_diff | |
get_current_error | |
Rotation Limit structure for generic joints.
Definition at line 27 of file bulletTranslationalLimitMotor.h.
BulletTranslationalLimitMotor::BulletTranslationalLimitMotor | ( | const BulletTranslationalLimitMotor & | copy | ) |
Definition at line 30 of file bulletTranslationalLimitMotor.cxx.
|
inline |
Definition at line 17 of file bulletTranslationalLimitMotor.I.
BulletTranslationalLimitMotor::BulletTranslationalLimitMotor | ( | btTranslationalLimitMotor & | motor | ) |
Definition at line 21 of file bulletTranslationalLimitMotor.cxx.
int BulletTranslationalLimitMotor::get_current_limit | ( | int | axis | ) | const |
Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit.
Definition at line 181 of file bulletTranslationalLimitMotor.cxx.
bool BulletTranslationalLimitMotor::get_motor_enabled | ( | int | axis | ) | const |
Definition at line 61 of file bulletTranslationalLimitMotor.cxx.
bool BulletTranslationalLimitMotor::is_limited | ( | int | axis | ) | const |
Definition at line 39 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_damping | ( | PN_stdfloat | damping | ) |
Definition at line 117 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_high_limit | ( | const LVecBase3 & | limit | ) |
Definition at line 84 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_low_limit | ( | const LVecBase3 & | limit | ) |
Definition at line 73 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_max_motor_force | ( | const LVecBase3 & | force | ) |
Definition at line 106 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_motor_enabled | ( | int | axis, |
bool | enable ) |
Definition at line 50 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_normal_cfm | ( | const LVecBase3 & | cfm | ) |
Definition at line 147 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_restitution | ( | PN_stdfloat | restitution | ) |
Definition at line 137 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_softness | ( | PN_stdfloat | softness | ) |
Definition at line 127 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_stop_cfm | ( | const LVecBase3 & | cfm | ) |
Definition at line 158 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_stop_erp | ( | const LVecBase3 & | erp | ) |
Definition at line 169 of file bulletTranslationalLimitMotor.cxx.
void BulletTranslationalLimitMotor::set_target_velocity | ( | const LVecBase3 & | velocity | ) |
Definition at line 95 of file bulletTranslationalLimitMotor.cxx.
LVector3 BulletTranslationalLimitMotor::get_accumulated_impulse |
Definition at line 54 of file bulletTranslationalLimitMotor.h.
LPoint3 BulletTranslationalLimitMotor::get_current_diff |
Definition at line 53 of file bulletTranslationalLimitMotor.h.
LVector3 BulletTranslationalLimitMotor::get_current_error |
Definition at line 52 of file bulletTranslationalLimitMotor.h.