So I’m making a car game with some friends of mine for a school project where everyone is supposed to make a game.
But I’m having a bit of trouble when it comes to the road, as my friend wants the road to be in the air held up by some pillars underneath. But when we just a box collider on the road it kind of “boxed” it in, so you can fall of the track on the inside but you’re able to on the out side. Is there anyway to do the road collider in a better way than just a box collider? The road is formed like snakes and such so it’s not a straight run. Will explain better if needed for assistance.
Hey.
I can understand why the box collider wont work. I would use a mesh collider instead as it makes a collider based on the shape of the object instead of a box or sphere etc.
using a MeshCollider instead should work… if your track is super high-poly, there could theoretically be performance issues, but for your purposes it should be fine I expect.
Thank you, that should do it.