RigidBody2D.setAxisVelocity

Sets the body's velocity on the given axis. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior.

struct RigidBody2D
@nogc nothrow
void
setAxisVelocity
(
in Vector2 axis_velocity
)

Meta