I’m working on a side scrolling game that will have 2.5D perspective, somehow similar to Trials, see image below.
I currently have a 2D prototype that works with a car and with two wheel joints, connected to two circle colliders. They run on a map which has a Polygon Collider 2D.
What I’d like to do is make a 3D Mesh, mainly the ground, as an uneven track to drive on. Since it will only move in 2D, it seems appropriate to have 2D colliders, even if the car is 3D. I want to easily just change the mesh, and recreate the 2D polygon collider without manual work.
I found a forum post about a 2.5D polygon collider which seems to do just this, but the link to asset store no longer works.
Is it simpler and/or better to just use 3D colliders, and freeze Z position of all rigidbodies? Or is there some simple way to do this?
Which will lead to the best physics simulation?
Thanks! ![]()
