Need info about limits.

Started by vito, Apr 21, 2017, 06:00 AM

Previous topic - Next topic

vito

What is the limit of time in:

object.MoveTo( Vector pos, int time );
object.RotateTo( rotation, time )

I'm asking because I saw in some cases objects moving too fast (unexpected).

EK.IceFlake

Most likely 2147483647 (2^32/2-1).

vito

https://www.youtube.com/watch?v=YEoNd4QYPCs#

Note 1000*70 moving much faster than 1000*60, so maybe it's 65536

EK.IceFlake

Quote from: vito on Apr 21, 2017, 07:07 AMNote 1000*70 moving much faster than 1000*60, so maybe it's 65536
If your theory is right, it should move in 4464ms on 1000*70.
Which is exactly what happened.
Therefore, your theory is right.