Reflection works perfectly fine when I use it with Debug.DrawRay function, however when I try it with an actual cylinder object it’s not working.
var reflectionAngle =Vector3.Reflect (transform.TransformDirection(0, 0, 1),hit.normal);
Laser.transform.position=hit.point;
Laser.transform.eulerAngles=reflectionAngle; //NOT WORKING
Debug.DrawRay(hit.point, reflectionAngle*100 , Color.blue); //WORKS FINE
Has anyone know what’s wrong?
Thanks