Hello! Sorry to bother.
How do I make a reflected bar like in the screenshot. I also need the wall to not exactly 90-degree.[
I have searched the forum with no avail. I found a laser example by r0j0hound but it seem to not work exactly like I want. It is a bit wonky when faced with angle different from 90-degree.
I was thinking it might have something to do with getting collision angle, but I'm not sure how to get it.
Thank you very much!
Develop games in your browser. Powerful, performant & highly capable.