#script causing physics lag?

1 messages · Page 1 of 1 (latest)

keen depot
#

im not really sure where i should post this, whether here or studio-help, but ive got this train game going, and ever since recently every time i spawned a train with 2 or more cars, the game would lag (mostly the server) EXTREMELY and then after a while goes back to normal, ive obv deduced this as a physics issue, ive already gotten rid of as many performance-heavy elements from the script as i could, and i really dont wanna rewrite the entire foundation of the game xdd. and like i said it hasnt lagged this much up until just lately, and id really like some help on if this is somehow preventable. if theres any detail youd like to know just ask