Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | 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)
 

Detailed Description

Rotation Limit structure for generic joints.

Definition at line 29 of file bulletTranslationalLimitMotor.h.

Member Function Documentation

int BulletTranslationalLimitMotor::get_current_limit ( int  axis) const
inline

Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit.

Definition at line 178 of file bulletTranslationalLimitMotor.I.


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