Files
brick-framework/GameCore/ECS/Interfaces/IWorldQuery.cs

11 lines
392 B
C#

using GameCore.Math;
namespace GameCore.ECS.Interfaces;
public interface IWorldQuery
{
HitResult Raycast(Vector3 from, Vector3 to, Entity? ownerToExclude = null);
Vector3 RotateVectorByYaw(Vector3 vector, float yawRadians);
IEnumerable<Entity> OverlapSphere(Vector3 position, float radius, Entity? ownerToExclude = null);
List<Vector3> GetPath(Vector3 start, Vector3 end);
}