Click or drag to resize

Physics2DDirectBodyStateGetContactCount Method

Returns the number of contacts this body has with other bodies.

Note: By default, this returns 0 unless bodies are configured to monitor contacts. See ContactMonitor.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetContactCount()

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.Physics2DDirectBodyState.GetContactCount"]

See Also