So, I was messing around with the SetGravity() function in the Lua API, and I noticed that the mobs and entities fall at 9.8m/s^2. This is real world gravity, but this article shows that Vanilla Minecraft's gravity is about 22.6m/s^2 (http://blog.benw.xyz/2014/01/minecraft-p...e-in-drag/ ), so should the default server gravity be changed accordingly?
Entity Gravity?
|
02-25-2015, 04:14 PM
Its better to use real gravity. Then you can calculate its fallen pos/speed with x=x0 + v0 *t -4.9 * t^2 and v = -9.8t
Nah, its just I have probably not passed an exam about that. Anyway, why not keep it like this, MCServer doesnt need to be exact to vanilla.
02-25-2015, 07:15 PM
We should probably implement something similar to vanilla, after all, people expect their contraptions to work and this is one thing that they could use for timing etc.
Thanks for the good read, I guess that's all we need to implement it (besides finding the someone to actually, you know, code it ) Thanks given by: NiLSPACE , sphinxc0re
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 2 Guest(s)