Hello! how are you guys, so I am working on a game where it uses NPC Cars, but Roblox Collisions isn’t the best and it ends up giving 40/50 Server FPS frame/rate how can I improve collisions so they don’t affect too much server performance?
As you can see in video heartbeat doesn’t go lower than < 55 but in-game it goes to 30-40 Server FPS which is terrible
There are currently only 4 contact points on each car which is a ball with a hinge (to make it spin)
But if we make it 20 cars, it’s 80 contact points and 80 hinges needed to calculate from server, The code isn’t the problem as it’s the physics calculating which is, how can I improve the physics performance? I tried making a square box collision but yeah, the car is sliding basically and yes performance is better, but it’s get stuck with let’s say road stripes/lanes, and end up glitching
It’s one Main Part which is transparent and equal to bounding box of cars, 4 ball attached to make the car spin and all the car parts are welded to the Main Part using weld constraint, the Main part is moved with Vector Force and Align Orientation