Flying game - changing the behaviour of wall collision

Hi, I’m trying to build a simple game prototype from the flying template provided with UE4.
I started with the Blueprint version but I might convert it to c++ on some point.
I started by changing the control scheme for the space ship and what I’m trying to do now is to change the way the spaceship behaves when hitting an obstacle.
I think that destroying the ship when it hits a wall would make the game too difficult so I guess that the best approach would be to loose some health and bounce the ship in some direction.
What do you think would work best for this? bounce it in the opposite direction in yaw or something like that? How would you recommend implementing something like that in blueprints (my controls are in the flyingPawn BP as in the given template).

I’m open to suggestions on how you think this should work and implemented.
Any advice would be highly appreciated.

Amit

Bouncing it according to direction and wall sounds logical to me. This is more or less the same as with projectile bouncing when they hit the wall - You actually can find a lot of examples on that when searching for projectile bounce :slight_smile:

BTW here is an AnswerHub question on that topic:

I think you should also be able to do that using physical material and bounciness

Thanks, is there another way for doing this besides using physical material?

Still relevant, I couldn’t get it to work with physical materials and besides I want it to be mathematically correct.