PhysicsBody.TransformWriteMode
The method used to Write the body pose to the Transform. See _transformWriteMode.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsBody.TransformWriteMode
Fields
Value | Description |
|---|---|
| Current | The current body pose will be written to the Transform. |
| Extrapolate | The pose extrapolated from the current body pose to a future pose based upon the current linear/angular velocities will be written to the Transform. The transform pose is essentially predictive. |
| Interpolate | The interpolated pose from the previous body pose to the current body pose will be written to the Transform. The transform pose is essentially historic. |
| Off | This body pose won't be written to the Transform. |