Click or drag to resize

PhysicsServerBodySetForceIntegrationCallback Method

Sets the function used to calculate physics for an object, if that object allows it (see BodySetOmitForceIntegration(RID, Boolean)).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void BodySetForceIntegrationCallback(
	RID body,
	Object receiver,
	string method,
	Object userdata = null
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.PhysicsServer.BodySetForceIntegrationCallback(Godot.RID,Godot.Object,System.String,System.Object)"]

receiver
Type: GodotObject

[Missing <param name="receiver"/> documentation for "M:Godot.PhysicsServer.BodySetForceIntegrationCallback(Godot.RID,Godot.Object,System.String,System.Object)"]

method
Type: SystemString

[Missing <param name="method"/> documentation for "M:Godot.PhysicsServer.BodySetForceIntegrationCallback(Godot.RID,Godot.Object,System.String,System.Object)"]

userdata (Optional)
Type: SystemObject

[Missing <param name="userdata"/> documentation for "M:Godot.PhysicsServer.BodySetForceIntegrationCallback(Godot.RID,Godot.Object,System.String,System.Object)"]

See Also