Documentation

Unity Engine

Unity Engine

transformTweenMode

Controls if and how Transform tweens are calculated and/or written. Transform tweening is where bodies that have their PhysicsBody.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 PhysicsWorld.simulationType is PhysicsWorld.SimulationType.Update or PhysicsWorld.transformWriteMode is PhysicsWorld.TransformWriteMode.Off.
Read time 1 minuteLast updated 20 days ago

Definition

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