PhysicsBody.TransformWriteTween
Used to define a Transform write "tween" for a body.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public struct PhysicsBody.TransformWriteTween
Properties
Property | Description |
|---|---|
| angularVelocity | The angular velocity of the body to be used during the lifetime of the tween, in degrees per second. |
| body | The body to be used during the lifetime of the tween. |
| linearVelocity | The linear velocity of the body to be used during the lifetime of the tween. |
| physicsTransform | The physics transform to be used during the lifetime of the tween. |
| positionFrom | The start position of the Transform tween. See Transform.position. |
| rotationFrom | The start rotation of the Transform. See Transform.rotation. |
| transformWriteMode | The transform write mode to be used during the lifetime of the tween. Anything other than PhysicsBody.TransformWriteMode.Interpolate or PhysicsBody.TransformWriteMode.Extrapolate will be removed. |