Physics for a 2D top-down game

Hey guys,

is there any way to create realistic physics for a 2d top-down racing game? For me it´s important to solve the problem about “scratching” along the walls (and the resulting speed loss, etc).

Thank you! :slight_smile:

The included Physics2D system will work.

In fact it´s not a real 2d game. It´s more a 3d game that acts like 2d… sorry for that:)

Then the included Physics system will work.

So far you haven’t asked for anything that would scream “custom physics engine” to me.

You probably want to look into Physics (not Physics2D), Physics Materials and “OnCollisionEnter(collider other)”.

By the pretty broad question you asked it sounds like Colliders, Rigidbodys and the integrated Physics have all you need. Please have a look at the reference manual. The Standard Assets from the Asset Store also include a car physics example.

1 Like