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.
読み終わるまでの所要時間 1 分最終更新 21日前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public bool WritePose()
Returns
Type | Description |
|---|---|
| bool | Whether the PhysicsBody.transformObject was written to. |