reposbox-tabletennis-vrcancel

216 Commits over 731 Days - 0.01cph!

2 Years Ago
Calculate drag properly, remember that we use kg/in³ and in/s² - fuck knows how what I was doing before worked in the slightest, this feels much better Bounce a bit higher Only use this paddle sound, it's cooler
2 Years Ago
Do anchor later
2 Years Ago
Default Paddle Angle to 0 Client prefs will update paddle angle successfully
2 Years Ago
Fixed error on load with hand materials, fixed up hold position on right-handed serve
2 Years Ago
Remove UnitAttribute, renamed Flip Hands to Left-Handed, add MinMax and Step to PaddleAngle
2 Years Ago
Cleaned up hand switching, add save button to prefs
2 Years Ago
Remove hacky velocity code, set up ball velocity and angular velocity from hands
2 Years Ago
Support hand switching for the paddle
2 Years Ago
Send client prefs update when a value changes
2 Years Ago
Add ray helper for client preferences window, minor fixes.
2 Years Ago
Whoops, left that out
2 Years Ago
Implement IHoldable, VrPlayerHand, very much a WIP Simplify InGrip, InTrigger - simulate input to drop held entity if we can. Delete FocusWorldPanel, it's unused Set up client preferences system Clients save the data as a cookie. When the game starts up the client informs the server of their preferences. Ideally this'll be good for flipping the paddle hand, changing the paddle angle and adjusting the VR anchor. Work on ClientPreferencesWidget Set up WorldInput ray Gut out the ServeHand so stuff still compiles Set up PaddleHand, ServeHand to use VrPlayerHand Fixed up paddle ownership Kill off IHoldable, removed more useless code Fixed serve hand anim Toggle ClientPreferences widget with joystick press Hand rewrite, client prefs
2 Years Ago
Toggle ClientPreferences widget with joystick press
2 Years Ago
Fixed serve hand anim
2 Years Ago
Set up PaddleHand, ServeHand to use VrPlayerHand Fixed up paddle ownership Kill off IHoldable, removed more useless code
2 Years Ago
Implement IHoldable, VrPlayerHand, very much a WIP Simplify InGrip, InTrigger - simulate input to drop held entity if we can. Delete FocusWorldPanel, it's unused Set up client preferences system Clients save the data as a cookie. When the game starts up the client informs the server of their preferences. Ideally this'll be good for flipping the paddle hand, changing the paddle angle and adjusting the VR anchor. Work on ClientPreferencesWidget Set up WorldInput ray Gut out the ServeHand so stuff still compiles
2 Years Ago
Gut out the ServeHand so stuff still compiles
2 Years Ago
Set up WorldInput ray
2 Years Ago
Work on ClientPreferencesWidget
2 Years Ago
Keep cleaning / refactoring, keep game logic seperated from everything else, isolate RPCs for future lag comp
2 Years Ago
Set up client preferences system Clients save the data as a cookie. When the game starts up the client informs the server of their preferences. Ideally this'll be good for flipping the paddle hand, changing the paddle angle and adjusting the VR anchor.
2 Years Ago
Tidy up, remove any concept of serverside balls, isolate all physics logic to its own class
2 Years Ago
Delete FocusWorldPanel, it's unused
2 Years Ago
Simplify InGrip, InTrigger - simulate input to drop held entity if we can.
2 Years Ago
Implement IHoldable, VrPlayerHand, very much a WIP
2 Years Ago
More sync fixes, got a better idea though Adjust networking even more, this is very playable now, but I think I can still do better Don't bounce on carpet, scale bounce sound w/ velocity
2 Years Ago
Client decides when it wants to take control, various other desync fixes Haptic feedback when hitting ball
2 Years Ago
Make the ball completely clientside with a backing server entity for sync, make all of serving clientside too
2 Years Ago
Add tt_togglespectator cmd
2 Years Ago
Remove debug BallSpawnThrowResponse
2 Years Ago
Quick hack to update client values to server values when authority changes to you
2 Years Ago
Fixed DebugPhysicsTest
2 Years Ago
Pack our ball velocity into the usercmd as well so the server/other client can take it over
2 Years Ago
Properly fixed up paddle hit / ball bounce reporting
2 Years Ago
Fixed SinceLastHit never being set on the server
2 Years Ago
Sort out VR serving
2 Years Ago
Fix nametag rotation in VR Server and other clients know about ball bounces and paddle hits
2 Years Ago
Delete active pawn if we're becoming a spectator Upped maxplayers Wrap debug code around DebugBallPhysics
2 Years Ago
Cleanup, decreased spectator fly speed
2 Years Ago
Add SpectatorPawn, SpectatorCamera, assign player as spectator if teams are full.
2 Years Ago
Alternating client authoritative networking * Implement an alternating client authoritative model - whichever clients side of the table the ball is on gets complete authority over the ball position and velocity. * Physics are simulated entirely on the current authoritative client now. Pack the ball position into the UserCmd and the server sets the ball entity's position so the other client can see it and takeover when authority switches. * Substep the physics at fixed(ish) 0.005ms steps within FrameSimulate's delta time, each step moves the ball and checks against the paddle sweep. This may be unconventional but it gives us a perfect result and never misses. * Fix paddle collision sometimes sending the ball backwards because of a negative velocity length, added an abs.
2 Years Ago
implement simple debug slowmo to make sure the angular hits are correct Implement alternating client authoritative - whoevers side of the table the ball is on gets complete control of the ball
2 Years Ago
Neater way of giving client authority over the ball Implement physics substeps on a fixed-ish time step within FrameSimulate, move the ball and try to collide with the paddle each step - this is probably quite unconventional but it gives us the perfect result and never misses
2 Years Ago
Use abs on our paddle return velocity length before multiplying by the sweep normal, stops the ball flying behind the paddle Simulate physics entirely clientside each frame, make the client authoritative packing the ball position into the usercmd. The game should decide which client is authoritative based on which side of the table the ball is on.
2 Years Ago
Parse HMD rotation and show it on the head model
2 Years Ago
Increase drop ball threshold for grip
2 Years Ago
BallPhysics in server tick temporarily
2 Years Ago
Upped decibels on most of the sounds
2 Years Ago
Cleanup, fixed inverted finger presets, knuckles users rejoice
2 Years Ago
Remove physics hack