Hey, so I'm making a really basic game similar to those crash the train games by Trainmaster4, I am mainly making it for my own fun just to watch them crash into each other. I've built my models and made a small map, but I got to scripting and got completely stumped. How can I go about making the two trains break apart and possibly catch fire when they come in contact? If I have hazardous materials cars on the train how could I go about making these explode along with breaking apart? Thanks.
Since you didn't provide a script, we can't help you with much, but we can lead you in the right direction. If you want them to break apart and catch fire after touching, then you should use the .Touched
event. You can read about .Touched
here. If this helped, then please accept this answer! Good luck!