Struct FeModel.FeTaperedCapsuleRigid ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A tapered capsule collider on one node (FeTaperedCapsuleRigid_t).
public readonly record struct FeModel.FeTaperedCapsuleRigid : IEquatable<FeModel.FeTaperedCapsuleRigid>Implements ​
IEquatable<FeModel.FeTaperedCapsuleRigid>
Constructors ​
FeTaperedCapsuleRigid(Vector4[], int, int, int, int, float?) ​
A tapered capsule collider on one node (FeTaperedCapsuleRigid_t).
public FeTaperedCapsuleRigid(Vector4[] Spheres, int Node, int CollisionMask, int VertexMapIndex, int Flags, float? Stickiness)Parameters ​
Spheres Vector4[]
The two cap spheres, each as center and radius (vSphere); empty when the file carries neither form.
Node int
nNode.
CollisionMask int
nCollisionMask.
VertexMapIndex int
nVertexMapIndex, -1 when absent.
Flags int
nFlags.
Stickiness float?
flStickiness, or null when absent (older files only).
Properties ​
CollisionMask ​
nCollisionMask.
public int CollisionMask { get; init; }Property Value ​
Flags ​
nFlags.
public int Flags { get; init; }Property Value ​
Node ​
nNode.
public int Node { get; init; }Property Value ​
Spheres ​
The two cap spheres, each as center and radius (vSphere); empty when the file carries neither form.
public Vector4[] Spheres { get; init; }Property Value ​
Vector4[]
Stickiness ​
flStickiness, or null when absent (older files only).
public float? Stickiness { get; init; }Property Value ​
VertexMapIndex ​
nVertexMapIndex, -1 when absent.
public int VertexMapIndex { get; init; }
