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
public int GetContactCount()
[Missing <returns> documentation for "M:Godot.Physics2DDirectBodyState.GetContactCount"]