BigMacintosh / Parking

Year 3 Games Project
MIT License
6 stars 0 forks source link

Collisions #220

Closed Keywarn closed 4 years ago

Keywarn commented 4 years ago

Now implemented pushing other players out the way. Currently, each car calculates locally who should lose the collision and if they believe they have lost they apply forces based on where the other car is.

Resolves #165 Resolves #164 Resolves #166

Keywarn commented 4 years ago

Hopefully, a bit more to your taste @liamdalg, should make the collisions much better and added a threshold based on car mass.

I've re-requested review but won't merge this stuff until it gets tested.

ChrisGora commented 4 years ago

Me and Riley will test now. Fingers crossed 👍🏼