Facepunch / sbox-tabletennis-vr

🏓 Facepunch presents Table Tennis VR
https://asset.party/facepunch/tabletennis
MIT License
18 stars 0 forks source link

Physics #8

Open DevulTj opened 2 years ago

DevulTj commented 2 years ago

Couple of physics related problems to note:

https://user-images.githubusercontent.com/22372616/183247915-3883194d-d044-4422-b29d-97ddf303eb6d.mp4

handsomematt commented 2 years ago

Can solve a lot of this by making the paddle hitting balls entirely clientside authoritative within FrameSimulate, we'll still wanna do sweep traces - the key part is doing it before the ball moves. Actually we should be simulating the ball physics in FrameSimulate as well.

This will probably feel odd unless we: