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 "bulletTranslationalLimitMotor.h"

Public Member Functions

 BulletTranslationalLimitMotor (btTranslationalLimitMotor &motor)
 
 BulletTranslationalLimitMotor (const BulletTranslationalLimitMotor &copy)
 
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
 

Detailed Description

Rotation Limit structure for generic joints.

Definition at line 27 of file bulletTranslationalLimitMotor.h.

Constructor & Destructor Documentation

◆ BulletTranslationalLimitMotor() [1/2]

BulletTranslationalLimitMotor::BulletTranslationalLimitMotor ( const BulletTranslationalLimitMotor & copy)

Definition at line 30 of file bulletTranslationalLimitMotor.cxx.

◆ ~BulletTranslationalLimitMotor()

BulletTranslationalLimitMotor::~BulletTranslationalLimitMotor ( )
inline

Definition at line 17 of file bulletTranslationalLimitMotor.I.

◆ BulletTranslationalLimitMotor() [2/2]

BulletTranslationalLimitMotor::BulletTranslationalLimitMotor ( btTranslationalLimitMotor & motor)

Definition at line 21 of file bulletTranslationalLimitMotor.cxx.

Member Function Documentation

◆ get_current_limit()

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.

◆ get_motor_enabled()

bool BulletTranslationalLimitMotor::get_motor_enabled ( int axis) const

Definition at line 61 of file bulletTranslationalLimitMotor.cxx.

◆ is_limited()

bool BulletTranslationalLimitMotor::is_limited ( int axis) const

Definition at line 39 of file bulletTranslationalLimitMotor.cxx.

◆ set_damping()

void BulletTranslationalLimitMotor::set_damping ( PN_stdfloat damping)

Definition at line 117 of file bulletTranslationalLimitMotor.cxx.

◆ set_high_limit()

void BulletTranslationalLimitMotor::set_high_limit ( const LVecBase3 & limit)

Definition at line 84 of file bulletTranslationalLimitMotor.cxx.

◆ set_low_limit()

void BulletTranslationalLimitMotor::set_low_limit ( const LVecBase3 & limit)

Definition at line 73 of file bulletTranslationalLimitMotor.cxx.

◆ set_max_motor_force()

void BulletTranslationalLimitMotor::set_max_motor_force ( const LVecBase3 & force)

Definition at line 106 of file bulletTranslationalLimitMotor.cxx.

◆ set_motor_enabled()

void BulletTranslationalLimitMotor::set_motor_enabled ( int axis,
bool enable )

Definition at line 50 of file bulletTranslationalLimitMotor.cxx.

◆ set_normal_cfm()

void BulletTranslationalLimitMotor::set_normal_cfm ( const LVecBase3 & cfm)

Definition at line 147 of file bulletTranslationalLimitMotor.cxx.

◆ set_restitution()

void BulletTranslationalLimitMotor::set_restitution ( PN_stdfloat restitution)

Definition at line 137 of file bulletTranslationalLimitMotor.cxx.

◆ set_softness()

void BulletTranslationalLimitMotor::set_softness ( PN_stdfloat softness)

Definition at line 127 of file bulletTranslationalLimitMotor.cxx.

◆ set_stop_cfm()

void BulletTranslationalLimitMotor::set_stop_cfm ( const LVecBase3 & cfm)

Definition at line 158 of file bulletTranslationalLimitMotor.cxx.

◆ set_stop_erp()

void BulletTranslationalLimitMotor::set_stop_erp ( const LVecBase3 & erp)

Definition at line 169 of file bulletTranslationalLimitMotor.cxx.

◆ set_target_velocity()

void BulletTranslationalLimitMotor::set_target_velocity ( const LVecBase3 & velocity)

Definition at line 95 of file bulletTranslationalLimitMotor.cxx.

Member Data Documentation

◆ get_accumulated_impulse

LVector3 BulletTranslationalLimitMotor::get_accumulated_impulse

Definition at line 54 of file bulletTranslationalLimitMotor.h.

◆ get_current_diff

LPoint3 BulletTranslationalLimitMotor::get_current_diff

Definition at line 53 of file bulletTranslationalLimitMotor.h.

◆ get_current_error

LVector3 BulletTranslationalLimitMotor::get_current_error

Definition at line 52 of file bulletTranslationalLimitMotor.h.


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