I am creating a racing game in unity. Our track has a series of loops, twists, and bunny hops. I was wondering how to put invisible boundaries on the sides so characters do not drive off the map. Our track has a border, as created in Maya, but the characters still fly right on through (even with a mesh collider added). A friend suggested that we put box colliders inside invisible game objects on the sides which works but is time consuming seeing as how we have six tracks, all with very complicated loops and twists.
I saw a racing demo on this forum a long time ago which implemented something called a “roll cage” to handle collision. Any idea how I can go about creating such a thing?
Any other tips and suggestions?
This is a tedious problem, and I have only three months left to complete the game or I fail the class, so any help/tips/suggestions is much, much appreciated.