Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WritePose()

Write the full 3D position and rotation of the body to the currently set PhysicsBody.transformObject. If no PhysicsBody.transformObject is assigned, this method will do nothing and false will be returned.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool WritePose()

Returns

Type

Description

boolWhether the PhysicsBody.transformObject was written to.