Area2DOverlapsBody Method |
If true, the given physics body overlaps the Area2D.
Note: The result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
The body argument can either be a PhysicsBody2D or a TileMap instance (while TileMaps are not physics body themselves, they register their tiles with collision shapes as a virtual physics body).
Namespace: Godot
public bool OverlapsBody( Node body )
[Missing <param name="body"/> documentation for "M:Godot.Area2D.OverlapsBody(Godot.Node)"]
[Missing <returns> documentation for "M:Godot.Area2D.OverlapsBody(Godot.Node)"]