2022-11-27 19:37:16 -08:00
|
|
|
using Godot;
|
|
|
|
|
2023-06-03 18:21:46 -07:00
|
|
|
namespace SupaLidlGame.Extensions;
|
|
|
|
|
|
|
|
public static class Node2DExtensions
|
2022-11-27 19:37:16 -08:00
|
|
|
{
|
2023-06-03 18:21:46 -07:00
|
|
|
public static void RayCast(this Node2D node, Vector2 ray)
|
2022-11-27 19:37:16 -08:00
|
|
|
{
|
2023-06-03 18:21:46 -07:00
|
|
|
//var spaceState = node.GetWorld2d().DirectSpaceState;
|
|
|
|
//var result = spaceState.IntersectRay();
|
2022-11-27 19:37:16 -08:00
|
|
|
}
|
|
|
|
}
|