After welding my tank to the plane, the entire model is disappearing and reappearing.
I have seen nothing like this before. Is this a roblox bug, or is this an issue that I could fix?
After welding my tank to the plane, the entire model is disappearing and reappearing.
I have seen nothing like this before. Is this a roblox bug, or is this an issue that I could fix?
What’s the ProximityPrompt that keeps popping up when this happens, and what in your code causes it to happen?
that’s the spawn prompt for another vehicle, but nothing to worry about.
i could tell you how it works though —
tank’s constraint movers are set by the client, but i believe that the plane’s movers are handled by the server for some reason.
Looks like it happens when the movement velocity gets close to zero so its a NaN error related to the movement vector. Check all your code for any vector3.Unit.
Is it possible that this could be fixed by switching over movement velocity to the client? Or do I really have to go through my entire code for vector3.Unit NaN errors?
Alright so this might be a temporary solution but I think I had fixed it by moving constraint forces from the server to the player client, while setting the network ownership of the main part to the player. If this still persists, then it must be @dthecoolest 's solution to check for vector values being divided by zero
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.