Table of Contents

Class LinearAxisLimitConstraintComponent

Namespace
Stride.BepuPhysics.Constraints
Assembly
Stride.BepuPhysics.dll
[DataContract]
[DefaultEntityComponentProcessor(typeof(ConstraintProcessor), ExecutionMode = ExecutionMode.Runtime)]
[ComponentCategory("Physics - Bepu Constraint")]
public sealed class LinearAxisLimitConstraintComponent : TwoBodyConstraintComponent<LinearAxisLimit>, IIdentifiable, ISpring, IWithTwoLocalOffset, ITwoBody
Inheritance
object
ConstraintComponent<LinearAxisLimit>
LinearAxisLimitConstraintComponent
Implements
Inherited Members

Constructors

LinearAxisLimitConstraintComponent()

public LinearAxisLimitConstraintComponent()

Properties

LocalAxis

public Vector3 LocalAxis { get; set; }

Property Value

Vector3

LocalOffsetA

Offset from the center of body A to its attachment in A's local space.

public Vector3 LocalOffsetA { get; set; }

Property Value

Vector3

LocalOffsetB

Offset from the center of body B to its attachment in B's local space.

public Vector3 LocalOffsetB { get; set; }

Property Value

Vector3

MaximumOffset

public float MaximumOffset { get; set; }

Property Value

float

MinimumOffset

public float MinimumOffset { get; set; }

Property Value

float

SpringDampingRatio

The ratio of the spring's actual damping to its critical damping. 0 is undamped, 1 is critically damped, and higher values are overdamped. Higher damping ratios reduce oscillations and make the connection less elastic.

public float SpringDampingRatio { get; set; }

Property Value

float

SpringFrequency

The target number of undamped oscillations per unit of time. Higher frequency values create stiffer connections, while lower values allow more elasticity in the joint.

public float SpringFrequency { get; set; }

Property Value

float