alanrodriguezdotme / driving-game

0 stars 0 forks source link

Car is jittery while driving #1

Open alanrodriguezdotme opened 8 months ago

alanrodriguezdotme commented 8 months ago

Trees seem to be unaffected. Might be due to using useFrame?

alanrodriguezdotme commented 8 months ago

Possibly addressed with b47efcc

alanrodriguezdotme commented 8 months ago

From Discord: The jittery is a mismatch(?) between your physics updates and your 3D updates. This video explains it well I believe: https://youtu.be/yGhfUcPjXuE?si=gBDY7VUFqBMW5FJ1

alanrodriguezdotme commented 6 months ago

Seems to be a performance issue, as a smaller viewport makes driving less jittery. Maybe set max size for <Canvas />?