Hello, I’m trying to make a volleyball game for knowledge (something like “Beyond Volleyball League” or “Volleyball League 4.2”). My problem is the ball physics, well I know those games don’t use BodyVelocity or stuff. Also, I found out from a friend that Beyond Volleyball League updates clients with ball positions, so I assume they use lerp or something? I even thought about things like ApplyImpulse or Velocity, but I’m not sure. If you are experienced in this and can tell me how it is done or where to start, I would be very grateful. Thanks for reading!
You probably don’t really need to write your own physics at all. Body velocity isn’t neccessary either. You can set the initial velocity of the ball, then let Roblox do the rest of the physics. By modifying formulas and stuff, you can get the ball to go exactly where you want.
The formulas you need are
And you are going to want to calculate u
(v is final velocity, u is initial velocity, a is acceleration (use game.Workspace.Gravity), t is time)
good luck