Flan's Mod: Legacy

Flan's Mod: Legacy

2M Downloads

How to stop cars driving over walls and make mechanics generally better.

Fureniku opened this issue ยท 2 comments

commented

Pseudocode, obviously.

if (block.inFrontOfCar +1Y == isSolid) {
motionX/Y/Z = 0
player.damage
car.damage
}

What this would do if added:

  • Cars no longer drive up walls
  • Players would be hurt if they crashed into a wall
  • Cars would take damage if they crashed into a wall

It'd fix the absolute core of the buggy driving mechanics and it's SO easy to do...
Please Flan, make cars usable!

commented

Useless code. Vehicles are now fixed anyway.

commented

It's a simplified version of EXACTLY what you did, I read the commit when you first mentioned how you fixed vehicle physics. I just posted this as a guideline.

Generally calling people who try to help you "useless" isn't exactly a nice thing. I got into modding in the first place because I wanted roads to drive your cars on, but since the start you've not exactly been helpful. I've got enough experience, maybe I'll just make my own damn car mod now, I've had hundreds of requests for it...