Panda3D
Public Member Functions | Public Attributes | List of all members
PhysxSpringDesc Class Reference

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
 

Detailed Description

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.


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