nicholas-maltbie / FallingParkour

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

Jittery Fans #21

Closed nicholas-maltbie closed 3 years ago

nicholas-maltbie commented 3 years ago

Description

Fixed the fan behaviour that cause them to 'jitter' when a player that was a client was following them or standing on them. Had to switch from using the fixed update function to using the Update Function. probably a sub setting within Mirror configures this but it seems like things that need to be synchronized over the network are best done in the Update function instead of FixedUpdate.

How Has This Been Tested?

Tested locally with multiple clients as well as in the editor. Ensured that the fans do not constantly jitter.

Checklist: