Version: 5.6
public Vector2 velocity ;

설명

Linear velocity of the rigidbody.

The velocity is specified as a vector with components in the X and Y directions (there is no Z direction in 2D physics). The value is not usually set directly but rather by using forces. The velocity can also gradually decay due to the effect of drag if this is enabled.

See Also: AddForce, drag, angularVelocity, Rigidbody.velocity.