Question by
unity_BHOQfF3QP7fplA · Mar 24, 2020 at 05:35 PM ·
c#raycastraycastingraycasthit2dcircle
Is there any way how to do raycasts like this?
Hi, is there any way how to do raycasts like this? Im trying to do this for auto movement in my 2D "game". My idea is when some of raycasts hit something an object will go to the position of hitted object. I need raycasts like this so it could control all angles.
Green circles are colliders so raycasts must start outside of object. Thank you for help.
asasdasd.png
(18.1 kB)
Comment