Table of Contents

Class ConeTwistConstraintDesc.LimitDesc

Namespace
Stride.Physics.Constraints
Assembly
Stride.Physics.dll

ConeTwist constraint properties regarding limits.

[DataContract]
public class ConeTwistConstraintDesc.LimitDesc
Inheritance
ConeTwistConstraintDesc.LimitDesc

Properties

SetLimit

If true there will be a limit set on the constraint.

[Display(0, null, null)]
public bool SetLimit { get; set; }

Property Value

bool

SwingSpanY

Limit on the swing in the direction of the constraint Y axis.

[Display(2, null, null)]
[DataMemberRange(0, 3.141592653589793, 0.0872664675116539, 0.7853981852531433, 3)]
public float SwingSpanY { get; set; }

Property Value

float

SwingSpanZ

Limit on the swing in the direction of the constraint Z axis.

[Display(1, null, null)]
[DataMemberRange(0, 3.141592653589793, 0.0872664675116539, 0.7853981852531433, 3)]
public float SwingSpanZ { get; set; }

Property Value

float

TwistSpan

Limit on the twist (rotation around constraint axis).

[Display(3, null, null)]
[DataMemberRange(0, 3.141592653589793, 0.0872664675116539, 0.7853981852531433, 3)]
public float TwistSpan { get; set; }

Property Value

float