Click or drag to resize

PhysicsDirectBodyStateGetContactCount 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.PhysicsDirectBodyState.GetContactCount"]

See Also