Using either the havoc or any other dots phsyics package, how is a raycast done in DOTS?
Use Case: Want to be able to tell for example if my mouse is hovering over a building in say an RTS style game
Using either the havoc or any other dots phsyics package, how is a raycast done in DOTS?
Use Case: Want to be able to tell for example if my mouse is hovering over a building in say an RTS style game
How to perform a raycast? Have a look at the PhysicsSamples recently updated to the latest package version. See more here EntityComponentSystemSamples/PhysicsSamples at master · Unity-Technologies/EntityComponentSystemSamples · GitHub
Amazing thank you!