nicholas-maltbie / FallingParkour

Multiplayer racing game made with Unity
MIT License
18 stars 3 forks source link

Fixed player movement on curved fans #35

Closed nicholas-maltbie closed 3 years ago

nicholas-maltbie commented 3 years ago

Description

Improved smoothness of player movement on moving fans by having the move with floor function push the player out along the vertical axis (relative to the player's ground) instead of just using the shortest path.

Also fixed some broken fans on the fans map and some incorrect uses of fixed update in the code

How Has This Been Tested?

This has been tested by evaluating various kinds of surfaces in space. The error only seems to happen on slanted surfaces that rotate quickly when a player is standing on the surface.

Checklist: