carts icon indicating copy to clipboard operation
carts copied to clipboard

Can Player not moving up after entering the cart???

Open nfsprodriver opened this issue 11 years ago • 4 comments

I've got a question: How can I configure the mod, that the player doesn't move up after I entered the cart, because all roofs in my world are two blocks high, so the cart can't drive very good I can't leave the cart.

nfsprodriver avatar Jan 29 '14 19:01 nfsprodriver

Make your roofs 3 blocks high ;-) I guess I could check if there is enough space before entering the cart (so it doesnt even allow you to enter it in a 2 blocks high area) and then also change the collisionbox while driveing so you cant move into 2 block high areas.

PilzAdam avatar Jan 29 '14 22:01 PilzAdam

Thanks for your fast answer, PilzAdam! That would be the simple way. But can you tell me the line in the mod, where this vertically movement of the player is defined? That would be a better solution for me...

nfsprodriver avatar Jan 29 '14 22:01 nfsprodriver

I guess you just need to change the 5 in this line: https://github.com/PilzAdam/carts/blob/master/init.lua#L33 (5 means 0.5 nodes)

PilzAdam avatar Jan 30 '14 11:01 PilzAdam

Thank you! I tried it: Not working, there's no difference.

nfsprodriver avatar Jan 30 '14 15:01 nfsprodriver