文档

Unity Engine

Unity Engine

PhysicsBody.TransformWriteTween

Used to define a Transform write "tween" for a body.
阅读时间1 分钟最后更新于 1 个月前

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.