Struct FeModel.FeTwistConstraint ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A twist constraint (FeTwistConstraint_t).
csharp
public readonly record struct FeModel.FeTwistConstraint : IEquatable<FeModel.FeTwistConstraint>Implements ​
IEquatable<FeModel.FeTwistConstraint>
Constructors ​
FeTwistConstraint(int, int, float, float) ​
A twist constraint (FeTwistConstraint_t).
csharp
public FeTwistConstraint(int NodeOrient, int NodeEnd, float TwistRelax, float SwingRelax)Parameters ​
NodeOrient int
The node whose frame the twist is measured in (nNodeOrient).
NodeEnd int
The node the twist is measured toward (nNodeEnd).
TwistRelax float
flTwistRelax.
SwingRelax float
flSwingRelax.
Properties ​
NodeEnd ​
The node the twist is measured toward (nNodeEnd).
csharp
public int NodeEnd { get; init; }Property Value ​
NodeOrient ​
The node whose frame the twist is measured in (nNodeOrient).
csharp
public int NodeOrient { get; init; }Property Value ​
SwingRelax ​
flSwingRelax.
csharp
public float SwingRelax { get; init; }Property Value ​
TwistRelax ​
flTwistRelax.
csharp
public float TwistRelax { get; init; }
