Vehicle Issues: Railroad

Hello I was making a railroad and it will be fun to make train crashes with it, but with a dozen car train crashes into a another train almost all the cars go flying

This seems unrealistic.

Any solutions that will fix that problem?

Thanks

Kristian993876674778

1 Like

I would try scripting the trains so they break apart when they collide.

2 Likes

Are the carriages connected by a constraint? If it is, then it would explain why the cars would be flying at the same time.

but most of them are union and are solid

If that’s the case I would just make the things attaching the cars break.

And no they don’t have constraints and they are getting pulled

1 Like

I will try that and see what I think

Can you specify what they have been pulled by?
(at this point I’m starting to think lag could be causing the cars to fly up)

By using a hook to pull a hook of another car

Then maybe the connected hook caused everything to fly up? I think you should use a script to make the hooks break, like what Crazedbrick1 said.

1 Like

You need create a script that detects when the train crashes to stop whatever script/bodyvelocity that you are applying to the trains. That way they will not float away as they are currently doing so.

If you wish to get fancy with it you could even attempt to make your own crash animation (use bodygryo or something to tilt the train off to a specific side etc)

1 Like