Here is a video showing what I am talking about. The turret works fine with no lag from 3rd person, but zooming into first person causes it to lag a lot. How does dead rails make their turret without lag? please help!
Video:
Here’s what the gun hierarchy looks like. Maybe it has too many attachments/constraints? I have all meshes set to performant rendering with cast shadow and can collide off (besides for legs which are the base) and collision fidelity set to box.
It seems like dead rails turret is further away from the player when the player is sitting, more simply made, and doesn’t have as much rotation.
Update: the lag only happens in first person for some reason…
Turns out, roblox first person camera was the cause of it. When using a camera manipulation script to override the roblox default camera, everything works fine and is smooth. Not sure why this is the case but it works great now.