system
November 25, 2022, 10:50pm
1
Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
exslacker
I try to set my exported float variable to 0.0001 in the inspector and it gets rounded to 0. Can I somehow overwrite default float step or something?
1 Like
system
November 26, 2022, 12:38am
2
Reply From:
Gluon
I dont get this issue, if I set a variable as 0.0001 and print it I get the output of 0.0001.
Are you sure you arent setting your variable to an int rather than a float? If you tried to apply 0.0001 to an int that would come out at 0.
If set in script there was no issue but at the inspector closest I could get to zero was 0.001. Above editor setting fixed it.
exslacker | 2022-11-26 09:04
system
November 26, 2022, 4:21am
3
Reply From:
jgodfrey
Just increase the default float step as required here:
Editor | Editor Settings | Interface | Inspector | Default Float Step
Thank you, that was the issue!
exslacker | 2022-11-26 09:00
3 Likes
I have been blowing my mind out trying to figure this out. i asked question after question but nobody would respond and herew i find the anser from 2 years ago. if i could pay you money for this answer i would