Class TwistConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Distributes the twist between the second target and its parent over the constrained bones by weight.
csharp
public class TwistConstraint : BaseConstraintInheritance
object ← BoneConstraintBase ← BaseConstraint ← TwistConstraint
Inherited Members
BaseConstraint.Name, BaseConstraint.UpVector, BaseConstraint.ConstrainedBones, BaseConstraint.Targets, BoneConstraintBase.ReadList(Model)
Constructors
TwistConstraint(KVObject)
Initializes a new instance from compiled constraint data.
csharp
public TwistConstraint(KVObject data)Parameters
data KVObject
Properties
ChildBindRotation
Gets or sets the child's bind rotation.
csharp
public Quaternion ChildBindRotation { get; set; }Property Value
Inverse
Gets or sets whether the twist is measured on the parent rather than the child.
csharp
public bool Inverse { get; set; }Property Value
ParentBindRotation
Gets or sets the parent's bind rotation.
csharp
public Quaternion ParentBindRotation { get; set; }Property Value
See Also
https://s2v.app/SchemaExplorer/cs2/modellib/CTwistConstraint

