Engine inaccuracies with modulo
I am experimenting around with a cube based world consisting only of 25 by 25 cm cubes. I have a subroutine which Tests if a cube is aligned by testing if x%25 is 0, y and z as well. Everything was fine until some random cubes were testet negatively. I checked, and These cubes had Locations like 49.99999 etc, even though cubes can only be places with coordinates that are multitudes of 25. Any idea how to deal with These small inaccuracies? Or any idea how I might have produced them myself? This is an overview of my blueprint.
asked Jul 22 '16 at 04:38 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here