SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

Zombies able to push cars in a weird way #4553

Open LocoCZ opened 2 weeks ago

LocoCZ commented 2 weeks ago

Since zombies now have proper colliders which collide with players, they also collide with vehicles. Well, vehicles should be quite heavy compared to players and don't think they should be push-able like this.

https://github.com/SmartlyDressedGames/Unturned-3.x-Community/assets/81763752/d697c636-6dff-47f5-bced-ae2d0f5e77a1

LocoCZ commented 2 weeks ago

If you stop and get a zombie in front of you & behind you, the position of the car is locked and you cannot move in any direction. You are stuck there

https://github.com/SmartlyDressedGames/Unturned-3.x-Community/assets/81763752/ffebbf8f-93b4-478e-81b1-3f3a24e4da5e

SDGNelson commented 2 weeks ago

Unfortunately, yes - it's been like this for a while, I'm actually surprised there isn't already a "known issue" post here on the issue tracker for it so I'll mark yours as that.

The zombies use character controllers which are both unstoppable force and immovable object in one, so I don't think this is avoided even if the vehicle's mass is increased. Increasing mass is one of my next goals for the vanilla vehicles, so we'll see I guess. I think the zombies launching vehicles is kind of funny. If we change zombies to rigidbody movement rather than character controller someday this would be fixed, but it's a tradeoff.