I found that you need to access the variables in the eyesRay first to get it to work. I don't know why. I only discovered it when I put in debug statements and then everything worked. So to get it to work I used the code below. I also found that World.GetGround doesn't work, so if you pass that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.