hi!
I’m creating a racing game and I ran into a strange bug which is probably caused by physics.
(I’m using heavily modified achassis 1.3)
When driving a car, I feel the fps drop even though they oscillate between 59-60.
(CPU: 16.5-18.8ms and GPU~6ms)
Physics and render ~12%
Looking into the microprofiler, empty frames appear.
It’s hard to assess what exactly affects it because it happens randomly, sometimes immediately after getting into the car and sometimes only after a few minutes of driving.
Game:
If anyone needs more information, just write and I will try to answer as soon as possible.
thanks!
I think because of the attachments and stuff that cause lag in the car when you move. I work with a friend of mine and he also working on cars, when I open my studio and start to work for him, the car was also the reason that cause the server to laggy and FPS drop. I think when you drive the attachment have some movement and cause the game to lag…
the car has only 8 attachments(2 per wheel) and the whole model of the car has completely different collisions than the tires, so they probably have no effect
Hi, I drove the car around for 5-10 minutes and didn’t notice a single frame drop.
Can you send a video of what you mean?
most lag ive added to a game is as a result of a memory leak (binding events and not cleaning it up) I don’t think that would result in random dropped frames but idk
I think @matikros2005 graphic setting is too high or the graphic mode is automatic. Would you please show us your graphic setting in Roblox @matikros2005??
I mean the game stays at 60fps all the time.
but sometimes when moving the camera there is a feeling of frame drops can it also be caused by my screen or mouse?