I am creating a camera shake script that can rotate the camera on its Z-Axis, With limits of 3.0, And -3.0.
The code does not execute properly for unknown reason, The problem occurring is the camera is over rotating and is over the said limits. I have done research, and have tried different solutions to this problem, Yet it is un avoided.
Guncamera.transform.localRotation.z = Random.Range(-3.0 , 3.0);
↧