Click or drag to resize

RigidBodyAddCentralForce Method

Adds a constant directional force (i.e. acceleration) without affecting rotation.

This is equivalent to add_force(force, Vector3(0,0,0)).

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

Parameters

force
Type: GodotVector3

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

See Also