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
| Member | Description |
|---|---|
| TransformConstraint.Active | Read-only runtime value. Use component methods to change state. |
| TransformConstraint.Diagnostic | Read-only runtime value. Use component methods to change state. |
Methods
| Member | Description |
|---|---|
| TransformConstraint.SetTarget | Sets the object whose world pose will be copied on the next update. |
| TransformConstraint.ClearTarget | Clears the target and stops copying its pose without moving this object. |
| TransformConstraint.SetEnabled | Enables or disables pose copying without changing this object's current pose. |
| TransformConstraint.IsActive | Returns true when the latest update copied the target pose without a conflict or invalid reference. |