Click or drag to resize

Physics2DServerBodySetMaxContactsReported Method

Sets the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void BodySetMaxContactsReported(
	RID body,
	int amount
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetMaxContactsReported(Godot.RID,System.Int32)"]

amount
Type: SystemInt32

[Missing <param name="amount"/> documentation for "M:Godot.Physics2DServer.BodySetMaxContactsReported(Godot.RID,System.Int32)"]

See Also