Summary
fort_character.GetViewLocation()
returns vector3 lacking floating-point precision.
Quite self-explanatory.
So for instance, if your actual view position is:
{x=43.311243,y=-103.193023,z=149.275099}
It’ll instead return:
{x=43.000000,y=-103.000000,z=149.000000}
Perhaps not a big deal for most people, but it’s messing with some camera calculations for my custom UI elements.
Please fix.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Retrieve fort_character.GetViewLocation()
.
Let’s say, for instance, your actual view position is: {x=43.311243,y=-103.193023,z=149.275099}
.
Expected Result
vector3
with floating-point precision.
So {x=43.311243,y=-103.193023,z=149.275099}
.
Observed Result
vector3
with int values:
{x=43.000000,y=-103.000000,z=149.000000}
.
Platform(s)
All platforms.