Table of Contents

Class Generic6DoFSpringConstraint

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
public class Generic6DoFSpringConstraint : Generic6DoFConstraint, IDisposable, IRelative
Inheritance
Generic6DoFSpringConstraint
Implements
Inherited Members
Extension Methods

Methods

EnableSpring(int, bool)

Enables the spring.

public void EnableSpring(int index, bool onOff)

Parameters

index int

The index.

onOff bool

if set to true [on off].

SetDamping(int, float)

Sets the damping.

public void SetDamping(int index, float damping)

Parameters

index int

The index.

damping float

The damping.

SetEquilibriumPoint(int, float)

Sets the equilibrium point.

public void SetEquilibriumPoint(int index, float val)

Parameters

index int

The index.

val float

The value.

SetStiffness(int, float)

Sets the stiffness.

public void SetStiffness(int index, float stiffness)

Parameters

index int

The index.

stiffness float

The stiffness.