#include <PhysicsSpringConstraint.h>
List of all members.
Detailed Description
Defines a generic spring constraint between two rigid bodies (or one rigid body and the world) where the spring strength and damping can be set for all six degrees of freedom.
- See also:
- http://gameplay3d.github.io/GamePlay/docs/file-formats.html#wiki-Constraints
Member Function Documentation
Sets the angular damping along the constraint's local X axis.
- Parameters:
-
damping | The angular damping value. |
Sets the angular damping along the constraint's local Y axis.
- Parameters:
-
damping | The angular damping value. |
Sets the angular damping along the constraint's local Z axis.
- Parameters:
-
damping | The angular damping value. |
Sets the angular strength along the constraint's local X axis.
Note: setting the strength to a non-zero value enables the spring for angular movement about the X axis (setting to zero disables it).
- Parameters:
-
strength | The angular strength value. |
Sets the angular strength along the constraint's local Y axis.
Note: setting the strength to a non-zero value enables the spring for angular movement about the Y axis (setting to zero disables it).
- Parameters:
-
strength | The angular strength value. |
Sets the angular strength along the constraint's local Z axis.
Note: setting the strength to a non-zero value enables the spring for angular movement about the Z axis (setting to zero disables it).
- Parameters:
-
strength | The angular strength value. |
Sets the linear damping along the constraint's local X axis.
- Parameters:
-
damping | The linear damping value. |
Sets the linear damping along the constraint's local Y axis.
- Parameters:
-
damping | The linear damping value. |
Sets the linear damping along the constraint's local Z axis.
- Parameters:
-
damping | The linear damping value. |
Sets the linear strength along the constraint's local X axis.
Note: setting the strength to a non-zero value enables the spring for linear movement along the X axis (setting to zero disables it).
- Parameters:
-
strength | The linear strength value. |
Sets the linear strength along the constraint's local Y axis.
Note: setting the strength to a non-zero value enables the spring for linear movement along the Y axis (setting to zero disables it).
- Parameters:
-
strength | The linear strength value. |
Sets the linear strength along the constraint's local Z axis.
Note: setting the strength to a non-zero value enables the spring for linear movement along the Z axis (setting to zero disables it).
- Parameters:
-
strength | The linear strength value. |