Need assistance with a game feature and it's script for a Unity 2D mobile game




Basic information:

There is a Triangle in the game which is supposed to behave like a prism and light rays pass through it in a refracted manner. There are also mirrors in the level which perform reflection.

We are using Linerenderer to render the ray.

We have written our own script for refraction of light through the triangle, using Snell's Law of refraction.

Problems that we are facing in Refraction Class script

1. Number of Refraction/Reflection of Linerenderer is not consistent.

2. Reflection and refraction do not occur simultaneously and consistently.

3. The uneven flickering of reflected and refracted rays.

Please revert back if you need any more information.

P.S : will attach project on request.



Habilidades: Android, Programação C#, Telefonia Móvel, Unity 3D

Ver mais: free sms mobile script, advertising mobile script, mp3 mobile script, unity phisic car script, unity car steering script, mobile script net, cms mobile script, software write mq4, unity wiki car script, software write chip epson, useful software write book, software write web specs, unity car physics script, maps mobile script, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, download mobile script zedge, software write books, software write protection, free software write book, software write book, mobile script

ID do Projeto: #11766669