Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


transformTweenMode

Controls if and how Transform tweens are calculated and/or written. Transform tweening is where bodies that have their _transformObject set, write to the Transform each frame depending on the specific body PhysicsBody.TransformWriteMode set. Regardless of this setting, Transform tweening is never used if the _simulationType is PhysicsWorld.SimulationType.Update or _transformWriteMode is PhysicsWorld.TransformWriteMode.Off.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsWorld.TransformTweenMode transformTweenMode { readonly get; set; }