Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsBody.TransformWriteTween

Used to define a Transform write "tween" for a body.
Read time 1 minuteLast updated 10 days ago

Definition

public struct PhysicsBody.TransformWriteTween

Properties

Property

Description

angularVelocityThe angular velocity of the body to be used during the lifetime of the tween, in degrees per second.
bodyThe body to be used during the lifetime of the tween.
linearVelocityThe linear velocity of the body to be used during the lifetime of the tween.
physicsTransformThe physics transform to be used during the lifetime of the tween.
positionFromThe start position of the Transform tween. See Transform.position.
rotationFromThe start rotation of the Transform. See Transform.rotation.
transformWriteModeThe 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.