Skip to content

TransformConstraint ​

class in OpalScript

Copies selected parts of another object's world pose with offsets and optional smoothing, without changing hierarchy. Refuses pose-owner conflicts and dependency cycles.

Properties ​

MemberDescription
TransformConstraint.ActiveRead-only runtime value. Use component methods to change state.
TransformConstraint.DiagnosticRead-only runtime value. Use component methods to change state.

Methods ​

MemberDescription
TransformConstraint.SetTargetSets the object whose world pose will be copied on the next update.
TransformConstraint.ClearTargetClears the target and stops copying its pose without moving this object.
TransformConstraint.SetEnabledEnables or disables pose copying without changing this object's current pose.
TransformConstraint.IsActiveReturns true when the latest update copied the target pose without a conflict or invalid reference.

See also ​