Click or drag to resize

PhysicsServerBodySetAxisVelocity 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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void BodySetAxisVelocity(
	RID body,
	Vector3 axisVelocity
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.PhysicsServer.BodySetAxisVelocity(Godot.RID,Godot.Vector3)"]

axisVelocity
Type: GodotVector3

[Missing <param name="axisVelocity"/> documentation for "M:Godot.PhysicsServer.BodySetAxisVelocity(Godot.RID,Godot.Vector3)"]

See Also