Physics2DServerBodySetAxisVelocity Method |
Sets an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior.
Namespace: Godot
public static void BodySetAxisVelocity( RID body, Vector2 axisVelocity )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetAxisVelocity(Godot.RID,Godot.Vector2)"]
[Missing <param name="axisVelocity"/> documentation for "M:Godot.Physics2DServer.BodySetAxisVelocity(Godot.RID,Godot.Vector2)"]