Physics2DServerBodyApplyImpulse Method |
Adds a positioned impulse to the applied force and torque. Both the force and the offset from the body origin are in global coordinates.
Namespace: Godot
public static void BodyApplyImpulse( RID body, Vector2 position, Vector2 impulse )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodyApplyImpulse(Godot.RID,Godot.Vector2,Godot.Vector2)"]
[Missing <param name="position"/> documentation for "M:Godot.Physics2DServer.BodyApplyImpulse(Godot.RID,Godot.Vector2,Godot.Vector2)"]
[Missing <param name="impulse"/> documentation for "M:Godot.Physics2DServer.BodyApplyImpulse(Godot.RID,Godot.Vector2,Godot.Vector2)"]