TickTimer
#17
Of course the physics use the delta time (its not the plugins I worry about).
You use the delta time to integrate velocity.
Things like this happen: position += velocity * deltatime
When deltatime is something really big for whatever reason the resulting position will be much further away then when using a small deltatime.

Look at this table, I believe it is called Euler integration?
[Image: zn66hl.jpg]

Both have the same acceleration, but one has a timestep of one second and the other a timestep of 2 seconds
Reply
Thanks given by:


Messages In This Thread
TickTimer - by bearbin - 04-02-2013, 10:16 PM
RE: TickTimer - by xoft - 04-03-2013, 12:05 AM
RE: TickTimer - by bearbin - 04-03-2013, 12:25 AM
RE: TickTimer - by xoft - 04-03-2013, 12:38 AM
RE: TickTimer - by bearbin - 04-03-2013, 12:45 AM
RE: TickTimer - by FakeTruth - 04-03-2013, 06:19 AM
RE: TickTimer - by bearbin - 04-03-2013, 06:31 AM
RE: TickTimer - by xoft - 04-03-2013, 06:41 AM
RE: TickTimer - by FakeTruth - 04-03-2013, 10:57 PM
RE: TickTimer - by bearbin - 04-03-2013, 11:23 PM
RE: TickTimer - by xoft - 04-03-2013, 11:37 PM
RE: TickTimer - by bearbin - 04-03-2013, 11:45 PM
RE: TickTimer - by xoft - 04-04-2013, 02:19 AM
RE: TickTimer - by FakeTruth - 04-04-2013, 03:38 AM
RE: TickTimer - by bearbin - 04-04-2013, 05:06 AM
RE: TickTimer - by xoft - 04-04-2013, 05:15 AM
RE: TickTimer - by FakeTruth - 04-04-2013, 05:42 AM
RE: TickTimer - by bearbin - 04-04-2013, 05:56 AM
RE: TickTimer - by xoft - 04-04-2013, 06:16 PM
RE: TickTimer - by bearbin - 04-04-2013, 06:20 PM
RE: TickTimer - by FakeTruth - 04-04-2013, 09:54 PM
RE: TickTimer - by bearbin - 08-27-2013, 02:47 AM
RE: TickTimer - by xoft - 08-27-2013, 06:38 AM



Users browsing this thread: 7 Guest(s)