Hello Dear unreal Heroes
I am a beginner in Unreal. My Unreal version is 4.25.4. If I copy an object (with the snap function) or parent objects in Blueprint class, the Values are changed from integer to Float. For example, rotation 180 degreed, will change to 179,99999. In attach you can see, after “parent”, the location X should be -542, but unreal changed it automatically into -541,999756. Is there any project setting that can avoid such problem?
Thanks
It is not a “problem” it is how floats work in any program. The original number that you call an “integer” is not an actual integer either. The reason why it looks different to you has something to do with the fact that when you copy you copy the actual value and not the rounded display value.
This will always happen, it’s just a side effect of using floats. You can always type over them if you don’t like it…
ok, Thanks a lot!
I typed it in round integer each time because the teacher doesn’t like it
. I have asked some other students, and they don’t have this phenomenon. I fell really strange.
Not to worry, it can depend on many things…