Click or drag to resize

RigidBodyAddForce Method

Adds a constant directional force (i.e. acceleration).

The position uses the rotation of the global coordinate system, but is centered at the object's origin.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddForce(
	Vector3 force,
	Vector3 position
)

Parameters

force
Type: GodotVector3

[Missing <param name="force"/> documentation for "M:Godot.RigidBody.AddForce(Godot.Vector3,Godot.Vector3)"]

position
Type: GodotVector3

[Missing <param name="position"/> documentation for "M:Godot.RigidBody.AddForce(Godot.Vector3,Godot.Vector3)"]

See Also