system
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?
system
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
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