Click or drag to resize

RigidBody2DSetAxisVelocity Method

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.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetAxisVelocity(
	Vector2 axisVelocity
)

Parameters

axisVelocity
Type: GodotVector2

[Missing <param name="axisVelocity"/> documentation for "M:Godot.RigidBody2D.SetAxisVelocity(Godot.Vector2)"]

See Also