Panda3D
|
Describes a joint spring. More...
#include "physxSpringDesc.h"
Public Member Functions | |
PhysxSpringDesc (float spring, float damper=0, float targetValue=0) | |
float | get_damper () const |
float | get_spring () const |
float | get_target_value () const |
void | set_damper (float damper) |
void | set_spring (float spring) |
void | set_target_value (float target) |
Public Attributes | |
NxSpringDesc | _desc |
Describes a joint spring.
The spring is implicitly integrated, so even high spring and damper coefficients should be robust.
Definition at line 25 of file physxSpringDesc.h.
|
inline |
Definition at line 17 of file physxSpringDesc.I.
|
inline |
Definition at line 25 of file physxSpringDesc.I.
|
inline |
Definition at line 36 of file physxSpringDesc.I.
float PhysxSpringDesc::get_damper | ( | ) | const |
Definition at line 55 of file physxSpringDesc.cxx.
float PhysxSpringDesc::get_spring | ( | ) | const |
Definition at line 46 of file physxSpringDesc.cxx.
float PhysxSpringDesc::get_target_value | ( | ) | const |
Definition at line 64 of file physxSpringDesc.cxx.
void PhysxSpringDesc::set_damper | ( | float | damper | ) |
Definition at line 28 of file physxSpringDesc.cxx.
void PhysxSpringDesc::set_spring | ( | float | spring | ) |
Definition at line 19 of file physxSpringDesc.cxx.
void PhysxSpringDesc::set_target_value | ( | float | target | ) |
Definition at line 37 of file physxSpringDesc.cxx.
NxSpringDesc PhysxSpringDesc::_desc |
Definition at line 41 of file physxSpringDesc.h.