| Parameter | Description |
|---|---|
| position | The new parent-relative position |
| rotation | The new parent-relative rotation |
Sets the local (parent-relative) position and rotation to the provided values.
This function gives identical results to the following operations, but is more efficient:
transformRef.LocalPosition = position;
transformRef.LocalRotation = rotation;
Additional resources: TransformRef.SetLocalTransform, TransformRef.SetLocalTransform