How to improve physics performance with large trains

  1. What do you want to achieve? Keep it simple and clear!
    I want the trains to run smoothly for a better experience driving the trains
  2. What is the issue? Include enough details if possible!
    when i get into the control seat of the train i start to get physics spikes on the micro profile.


  3. What solutions have you thought of so far?
    i have tried to make sure all models are anchored and set the collision fidelity of unions to hull and set the can-collide of some unions to false.
    it has helped a little but but hasn’t gotten rid of the lag spikes.
2 Likes

Excessive unions will cause lag and parts rubbing against one another will overload the physics processing then cause lag. Another thing that could be happening is the game trying to render or you could not be utilizing your full RAM.

what do i do about the unions?
Set the can colide to false?

You can try that but I know excessive unions in general usually cause lag so what you might need to do is use less unions in your tracks other than that i’m not really sure. You can also make a invisible physical rail with less unions and make a visual mesh rail.

I don’t use any unions in by track just parts, but i do use textures for the ties
could the textures be causing lag?

1 Like

unions cause lag i just recommend using parts, then uh if possible you can turn off the collisions on the unnecessary parts, add a preloader along side that

is there a place where i could perhaps test the game n check it out myself

1 Like

i haven’t updated the game yet because im doing major changes right now to the map
you wont see the latest version

alright just make sure you try not to use so many unions. meshparts are easier, can look better and surfaceappearance / pbr is in beta so you might as well check that out as well

ok thanks for the information.

no problem. thirtycharacterthing