World2DDirectSpaceState Property |
Direct access to the world's physics 2D space state. Used for querying current and potential collisions. When using multi-threaded physics, access is limited to _physics_process(delta) in the main thread.
Namespace: Godot
public Physics2DDirectSpaceState DirectSpaceState { get; }