- Home /
This question was
closed Dec 03, 2018 at 08:05 AM by
WhisperXD for the following reason:
The question is answered, right answer was accepted
the problem of equating float with transform rotation
i want to make the float same as transform rotation, so this my script :
float rotX;
rotX = cam.transform.rotation.x;
sometimes the number is equal sometimes is not
how can i equalize value ?? and how can i to clamp it ??
diffrent.png
(17.5 kB)
same.png
(17.6 kB)
Comment
Follow this Question
Related Questions
Make camera 1 transform equal to camera 2 transform 1 Answer
Where can I see rotation value from transform.RotateAround? 0 Answers
Following another object's position/rotation like parent/child relationship? 4 Answers
Smooth Rotation Help 1 Answer
How do I align my player transform to waypoints and without restricting Z Axis rotation? 2 Answers