how to make a bullet reflect off a wall?

I’m making a 2D game and I need bullets that move slowly and reflect off walls. I’ve looked everywhere and just cant find a simple answer.

Try to put “Bounce” on phisics type. Just drag or select the physics to the serialize field. Maybe it Works. Don´t know. I am not conditionated about 2D or 2.5D games creation.

See if you can adopt this:

watch this tutorial , it’s a simple example, it will give you the idea.

link of the tutorial.

109681-untitled.png

Everyone wants to reflect things off today :), just answered the same question.

You can use Vector2.Reflect:

     Vector2 outboundDirection = Vector2.Reflect(_incomingDirection, _hitSurfaceNormal)