Are you going to rework the collide boat physics?
The damage and result of colliding from the boat with the shore is absolutely random. It ranges from 0 or 10 damage, to 1000 damage.
And the boat can stuck in the shore, so the boat wont move anymore, your character can not move and you hear 10 times per second the crash sounds and the boats gets more and more damage, until it sinks.
I first thought if I should write a mod for better boat physics, but I was not aware that it is such a horrible current situation and this is definitely a bug-topic.
edit:
I think the easiest solution to the problems above, would be to remove the push_back completely.
When you hit the shore, you get damage and your speed is set 0 without any push_back. This way the boat wont get thrown into the next collision and the endless circle of damage never happens ![]()
edit2:
I think it is enough to remove the pushback for the World, other things can still collide with pushback.
I fear changing world.components.waterphysics.restitution will not set the speed to 0 and I cant find a way to hook into or after OnCollide() without overwriting the whole function.
give the boat several thousand health to better test. drive with a sail against the shore, at best some kind of edgy shore, where the boat can hit the shor within 2 directions (not necessarily opposite directions). Simply drive several times against to shore and sooner or later it will happen.
-
1
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now