Interface IGeneric6DofSpringJoint3D
Interface for a 6 DoF 3D joint in physics.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface IGeneric6DofSpringJoint3D : IGeneric6DofJoint3D, IJoint3D
Methods
EnableSpring(DOFType, bool)
Enable or disable the spring.
Declaration
void EnableSpring(DOFType index, bool isEnabled)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | DOF index. |
bool | isEnabled | Indicates whether the spring is enabled. |
SetDamping(DOFType, float)
Sets the spring damping.
Declaration
void SetDamping(DOFType index, float damping)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | The DOF index. |
float | damping | The damping value. |
SetEquilibriumPoint(DOFType, float)
Sets the spring equilibrium point.
Declaration
void SetEquilibriumPoint(DOFType index, float equilibriumPoint)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | The degree of freedom (DOF) index. |
float | equilibriumPoint | The equilibrium point. |
SetStiffness(DOFType, float)
Sets the spring stiffness.
Declaration
void SetStiffness(DOFType index, float stiffness)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | DOF index. |
float | stiffness | The stiffness. |