Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SyncTransforms()

Apply Transform changes to the physics engine.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

When a Transform component changes, any Rigidbody or Collider on that Transform or its children may need to be repositioned, rotated or scaled depending on the change to the Transform. Use this function to flush those changes to the physics engine manually.