Simple Raycast in ECS [Solved]

Apologies if this has been asked before, but how would I do a simple raycast in ECS using the new physics (Unity.Physics) instead of the UnityEngine api version?

Ive sifted through the package documentation but while I can find things under RaycastQueries class, there doesnt seem to be a standard raycast as far as I can see?

Any help will be greatly appreciated :slight_smile:

Ignore me, I just found the physics sample on github :roll_eyes:

For others finding this thread. The examples are found here: https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/master/UnityPhysicsSamples/Assets/Demos/3. Query/Scripts/QueryTester.cs

and in within that repository.