Speed difference
#1

Just a question, why is speed soo different while MovingObject for example in this:

pawn Код:
MoveObject(rampapd, 1544.7000000,-1630.9000000,13.1000000+0.01, 0.01, 0.0000000,0.0000000,90.0000000);
at speed of 0.01 ms

and this

pawn Код:
MoveObject(BALRampa2, 2222.6001000,-1454.9000000,23.8000000+0.01, 0.1, 0.0000000,0.0000000,90.0000000);
at speed of 0.1 ms

Speed opening time is the same, i mean they open at the same speed and one is 0.01 ms and the other one is 0.1 ms, just wondering why is that ?
Reply
#2

Quote:
Originally Posted by Wiki
Float:Speed The speed at which to move the object (units per second)
It's pretty obvious, if you ask me. It is the acceleration speed of the object. Not the starting time.
0.1 unit/second while the other moves 0.01 unit/second. 0.01 * 10 = 0.1. Thus, the object that moves at the speed of 0.1 unit/second moves 10x faster than the object that moves at the speed of 0.01 unit/second.

If you were to put the value of one as the speed parameter, it would move with 1 unit per second. 0.1 * 10 = 1 and 0.01 * 100 = 1. Thus, the object that moves at the speed of 1 unit/second is 10x faster than the object that moves at the speed of 0.1 unit/second and 100x faster than the object that moves 0.01 unit/second.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)