Documentation

Unity Engine

Unity Engine

velocity

The velocity used to calculate the PhysicsQuery.WorldMoverInput.targetPosition. This is not used for movement but it will be returned, modified by any surfaces hit. This velocity can then be used in subsequent inputs for movement.
Read time 1 minuteLast updated 2 months ago

Definition

public Vector2 velocity { readonly get; set; }