Update carts from boost_cart
authorSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 7 Jul 2018 01:08:36 +0000 (03:08 +0200)
committerParamat <paramat@users.noreply.github.com>
Sat, 7 Jul 2018 01:08:36 +0000 (02:08 +0100)
commitecea5364f1bf0e1e6dd553c52c4122affd006c39
tree257fe665f69329caf0bd94442f0b5c4f12bf2e9f
parent59dbeebc2f282f85be5d1135aa70c6c2f36d8376
Update carts from boost_cart

Better pathfinder algorithm, allows tuning the lag spike compensation.
Smoother movement (when it's laggy).
Set the player animation to stand on attach.
Remove driver when they leave.
Only update velocity when it's necessary.
mods/carts/cart_entity.lua
mods/carts/functions.lua
mods/carts/init.lua