Class TiltTwistConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Copies the twist of the first target around onto the first constrained bone around
, scaled by that bone's weight. CS2 arms and legs drive their twist bones with it.csharp
public class TiltTwistConstraint : BaseConstraintInheritance
object ← BoneConstraintBase ← BaseConstraint ← TiltTwistConstraint
Inherited Members
BaseConstraint.Name, BaseConstraint.UpVector, BaseConstraint.ConstrainedBones, BaseConstraint.Targets, BoneConstraintBase.ReadList(Model)
Constructors
TiltTwistConstraint(KVObject)
Initializes a new instance from compiled constraint data.
csharp
public TiltTwistConstraint(KVObject data)Parameters
data KVObject
Properties
ConstrainedAxis
Gets or sets the local axis (0 X, 1 Y, 2 Z) the constrained bone is rotated around.
csharp
public int ConstrainedAxis { get; set; }Property Value
TargetAxis
Gets or sets the local axis (0 X, 1 Y, 2 Z) the target twist is measured around.
csharp
public int TargetAxis { get; set; }Property Value
See Also
https://s2v.app/SchemaExplorer/cs2/modellib/CTiltTwistConstraint

