Click or drag to resize

PhysicsDirectBodyStateAddForce Method

Adds a positioned force to the body. Both the force and the offset from the body origin are in global coordinates.

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.PhysicsDirectBodyState.AddForce(Godot.Vector3,Godot.Vector3)"]

position
Type: GodotVector3

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

See Also