Move to: how fast is speed setting in time?
Is there away to tell an object to take 30 seconds to move from one side of the screen to the other side. I'm using behavior Move To, but I don't know what speed equals. Is there a per pixel rate like miles per hour. I figure if I'm telling an actor to move to a pixel location, I should be able to tell when it should get there.
Comments
The formula is:
distance in pixels / time in seconds
So for your Actor to move across the screen, set the speed to 16, which is 480/30.
I have found that if you exceed about 250-300 for the speed...bad things start to happen...such as misfires...or bad collision detection.
_________________________________
So my kids think it's so cool their dad has made three fun iPhone apps. I come home from work and they say "Dad, can I get on your iPhone ...and play Angry Birds?"