Box trace precision problem

If you try this graph on 3rd person template level, it will print out result like this.
predict hit box center: X=-2268.000 Y=-1088.000 Z=192.000, hit box center: X=-2264.344 Y=-1088.000 Z=192.000,
This happens to dozen of spots just on template level only.(on 4 walls and floor)
Error all above 1 unit.(in this cases it’s about 3.6 units off.)

I use this to try detect if some thing is there and to avoid spawning actor in that space.
So this precision error throws me off when I already set error tolerance to 1.0 unit.
I don’t know if this is inevitable caused by single precision float point, but to have error tolerance up to 10 or 20 units range seems to be pretty weird thing to do.

Hey PenguinTD,

I created same Box Trace in a default Third Person Blueprint template project in 4.6.1, and I consistently get -2267.976 for Hit Box Center X value, which is a difference of only .024. That seems like a pretty standard floating point precision error. I am not getting a difference as large as 3.6, however. Are you getting this in 4.6.1, or a different engine version? Can you reproduce this in a new project, or does it only happen in your current project?

Hey PenguinTD,

We haven’t heard back from you about this issue, so I am marking this post as resolved for tracking purposes. If you can provide details requested above, we can continue investigating. Thanks!