- Home /
Question by
nanthsree22 · Apr 21, 2015 at 02:47 PM ·
2d gamereflectionrefraction
Im trying to make a 2D game revolving around Optical Physics. So in this game I need, basically, LineRenderers to appear like they refract at the surface of the glass. Any suggestions? Please help ASAP
I am currently only modifying the velocity.x component, but it doesnt solve the problem, because it doesnt cover all the sides of the glass pane and total internal reflection. I use an empty game object with the LineRenderer component attached to simulate the light ray.
Comment