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

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 182 of file bulletTranslationalLimitMotor.cxx.


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