14 lines
312 B
C#
14 lines
312 B
C#
|
using Godot;
|
||
|
|
||
|
namespace SupaLidlGame.Extensions
|
||
|
{
|
||
|
public static class Node2DExtensions
|
||
|
{
|
||
|
public static void RayCast(this Node2D node, Vector2 ray)
|
||
|
{
|
||
|
//var spaceState = node.GetWorld2d().DirectSpaceState;
|
||
|
//var result = spaceState.IntersectRay();
|
||
|
}
|
||
|
}
|
||
|
}
|