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 |
|---|---|
| bool | Whether the PhysicsBody.transformObject was written to. |