Panda3D
Loading...
Searching...
No Matches
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 (btRotationalLimitMotor &motor)
 
 BulletRotationalLimitMotor (const BulletRotationalLimitMotor &copy)
 
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
 

Detailed Description

Rotation Limit structure for generic joints.

Definition at line 27 of file bulletRotationalLimitMotor.h.

Constructor & Destructor Documentation

◆ BulletRotationalLimitMotor() [1/2]

BulletRotationalLimitMotor::BulletRotationalLimitMotor ( const BulletRotationalLimitMotor & copy)

Definition at line 30 of file bulletRotationalLimitMotor.cxx.

◆ ~BulletRotationalLimitMotor()

BulletRotationalLimitMotor::~BulletRotationalLimitMotor ( )
inline

Definition at line 17 of file bulletRotationalLimitMotor.I.

◆ BulletRotationalLimitMotor() [2/2]

BulletRotationalLimitMotor::BulletRotationalLimitMotor ( btRotationalLimitMotor & motor)

Definition at line 21 of file bulletRotationalLimitMotor.cxx.

Member Function Documentation

◆ set_bounce()

void BulletRotationalLimitMotor::set_bounce ( PN_stdfloat bounce)

Definition at line 138 of file bulletRotationalLimitMotor.cxx.

◆ set_damping()

void BulletRotationalLimitMotor::set_damping ( PN_stdfloat damping)

Definition at line 118 of file bulletRotationalLimitMotor.cxx.

◆ set_high_limit()

void BulletRotationalLimitMotor::set_high_limit ( PN_stdfloat limit)

Definition at line 78 of file bulletRotationalLimitMotor.cxx.

◆ set_low_limit()

void BulletRotationalLimitMotor::set_low_limit ( PN_stdfloat limit)

Definition at line 68 of file bulletRotationalLimitMotor.cxx.

◆ set_max_limit_force()

void BulletRotationalLimitMotor::set_max_limit_force ( PN_stdfloat force)

Definition at line 108 of file bulletRotationalLimitMotor.cxx.

◆ set_max_motor_force()

void BulletRotationalLimitMotor::set_max_motor_force ( PN_stdfloat force)

Definition at line 98 of file bulletRotationalLimitMotor.cxx.

◆ set_normal_cfm()

void BulletRotationalLimitMotor::set_normal_cfm ( PN_stdfloat cfm)

Definition at line 148 of file bulletRotationalLimitMotor.cxx.

◆ set_softness()

void BulletRotationalLimitMotor::set_softness ( PN_stdfloat softness)

Definition at line 128 of file bulletRotationalLimitMotor.cxx.

◆ set_stop_cfm()

void BulletRotationalLimitMotor::set_stop_cfm ( PN_stdfloat cfm)

Definition at line 158 of file bulletRotationalLimitMotor.cxx.

◆ set_stop_erp()

void BulletRotationalLimitMotor::set_stop_erp ( PN_stdfloat erp)

Definition at line 168 of file bulletRotationalLimitMotor.cxx.

◆ set_target_velocity()

void BulletRotationalLimitMotor::set_target_velocity ( PN_stdfloat velocity)

Definition at line 88 of file bulletRotationalLimitMotor.cxx.

Member Data Documentation

◆ get_accumulated_impulse

PN_stdfloat BulletRotationalLimitMotor::get_accumulated_impulse

Definition at line 58 of file bulletRotationalLimitMotor.h.

◆ get_current_error

PN_stdfloat BulletRotationalLimitMotor::get_current_error

Definition at line 56 of file bulletRotationalLimitMotor.h.

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

◆ get_current_position

PN_stdfloat BulletRotationalLimitMotor::get_current_position

Definition at line 57 of file bulletRotationalLimitMotor.h.

◆ get_motor_enabled

bool BulletRotationalLimitMotor::get_motor_enabled

Definition at line 54 of file bulletRotationalLimitMotor.h.

◆ is_limited

bool BulletRotationalLimitMotor::is_limited

Definition at line 53 of file bulletRotationalLimitMotor.h.

◆ set_motor_enabled

void BulletRotationalLimitMotor::set_motor_enabled

Definition at line 54 of file bulletRotationalLimitMotor.h.


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