Hello. I just can’t figure out how to make the system. I need to make a system so that when a car is moving, the collision of the rail is disabled, but at the same time I need the rails to have a collision when the train is moving.
Is it possible to do this in some other way?
Yes, you can use collision groups for this. The code samples on the docs I linked explain it pretty well.
2 Likes
Thanks for the tip. In my case, even scripting was not needed to solve the problem!
This video shows the simplest solution with collision groups: How to Make a Roblox Railfanning Game [Part 5/5] Finalization & Improvements (youtube.com)
1 Like