10 lines
337 B
C#
10 lines
337 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);
|
|
} |