character_running_speed inaccuracy
Posted: Mon Aug 01, 2022 8:48 am
Hi!
I am trying to precisely predict how long it will take for a character to walk from a point a to a point b on a straight/diagonal line. I found the `character_running_speed` property of the character which is equal to `0.15`. This leads me to believe that the character will move exactly `0.15` tiles per tick.
I am setting the character's moving state every tick and printing its position and from my testing it seems like the character is actually moving exactly `0.1484375` tiles per tick instead when moving along a straight line. Are there any other modifiers that I should account for?
I am trying to precisely predict how long it will take for a character to walk from a point a to a point b on a straight/diagonal line. I found the `character_running_speed` property of the character which is equal to `0.15`. This leads me to believe that the character will move exactly `0.15` tiles per tick.
I am setting the character's moving state every tick and printing its position and from my testing it seems like the character is actually moving exactly `0.1484375` tiles per tick instead when moving along a straight line. Are there any other modifiers that I should account for?