vabold / Kinoko

A reimplementation of Mario Kart Wii's physics engine in C++
MIT License
46 stars 10 forks source link

Fix AngleProperties typo and treat moving water as sticky road #122

Closed malleoz closed 4 months ago

malleoz commented 4 months ago

I accidentally typo'd the trick parameter array. Also moving water is treated as sticky road. This snippet from Tockdom is relevant, in regards to sticky road:

A type of road that attaches players to the road if they are within 200 units of the road with a correction of up to 200 units/frame. Moving water shares this code internally. The game logic does not care if player is also colliding with a different surface; as long as the player within 200 units of a surface with this attribute, the player's position will be corrected. This effect does not stack; layering on moving water will not make it more intense. The variant controls the terrain type.