- Home /
lerp with float problem!!
I am not sure dose any one have this problem before. I am using Mathf.Lerp to move object from local position(0, 0, 0) to position (0.08, -0.09, 0.03). I have observed the transform while I am playing the game, when x,y,z is about to reach the target position it stay at value lower than target value for a while before lerp complete. For example, x axis is about to reach 0.08 target value it become the value like 0.079999999999 for few second before it turn into 0.08.
Is it because my OS is windows 64bit or there might be some reason? Can anyone help me out?
Your answer
![](https://koobas.hobune.stream/wayback/20220613065059im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Name Hovering over Weapon Model. Problem! 2 Answers
Understanding the cost of different functions 2 Answers
Yield function goes slow sometimes/differently? 2 Answers
what is the problem of this code ? 2 Answers