Click or drag to resize

Physics2DDirectBodyStateSetLinearVelocity Method

Note: This API is now obsolete.

[Missing <summary> documentation for "M:Godot.Physics2DDirectBodyState.SetLinearVelocity(Godot.Vector2)"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetLinearVelocity is deprecated. Use the LinearVelocity property instead.")]
public void SetLinearVelocity(
	Vector2 velocity
)

Parameters

velocity
Type: GodotVector2

[Missing <param name="velocity"/> documentation for "M:Godot.Physics2DDirectBodyState.SetLinearVelocity(Godot.Vector2)"]

See Also