Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SyncTransforms()

Synchronizes.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public static void SyncTransforms()

Remarks

When a Transform component changes, any Rigidbody2D or Collider2D on that Transform or its children may need to be repositioned, rotated or scaled depending on the change to the Transform.