Interface IGeneric6DofSpringJoint3D
Interface for a 6 Dof 3D joint physics.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface IGeneric6DofSpringJoint3D : IGeneric6DofJoint3D, IJoint3D, IDisposable
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 | Is enabled or not the spring. |
SetDamping(DOFType, float)
Sets the spring damping.
Declaration
void SetDamping(DOFType index, float damping)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | DOF index. |
float | damping | The damping. |
SetEquilibriumPoint(DOFType, float)
Sets the spring equilibrium point.
Declaration
void SetEquilibriumPoint(DOFType index, float equilibriumPoint)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | DOF index. |
float | equilibriumPoint | The equilibriumPoint. |
SetStiffness(DOFType, float)
Setsa the spring stiffness.
Declaration
void SetStiffness(DOFType index, float stiffness)
Parameters
Type | Name | Description |
---|---|---|
DOFType | index | DOF index. |
float | stiffness | The stiffness. |