My buttery smooth ball physics (give it a try)

But personally, I would give:

Smoothess = 10
Responsiveness = 10
Intuitveness = 9.5

You said you also are using a heartbeat loop? I think you could use to make it even smoother. Such as stepped.

Before you get the idea to use renderstepped, please note that roblox warns you not to use it on anything other than the camera/character because it can be quite heavy on performance.

2 Likes

Smoothness: 10 (The ball has very good physics)
Responsiveness: 10 (The game does pick up that I click and it does the hit ball action)
Intuitiveness: 4 (At least on PC, it is pretty hard to conclude + control where the ball will go based off of the trajectory line thing, maybe work on that)

1 Like

May I ask how did you achieve the smooth custom physics?

1 Like

So its a combination of custom physics code which is literally just basic gravity and updating the velocity, and I use BodyMovers as the middle man for smooth movement

so it goes something like this

Ball is created, Physics Calculations for velocity and position are calculated, Body Position is set to the position being calculated… it’s really that simple

And of course make sure the ball is unanchored so that the Body Position can do its thing… if you have any questions feel free to DM me or just reply would love to help!

How did you go about creating the lag compensation?And how did you replicate the ball too all clients smoothly if you don’t mind me asking? Did you have an invisible part on the server and have the client do the physics or was it something else?