Collision reaction for my ship C++ (or Blueprint)

Hi,

So I’m having a little quandary here. I have gotten collision between my ship and the walls of my track set. But it seems that every time the ship hits the track, it stops. I know where this happens (the Hit event function in the player script (I am using the Flying C++ template, btw)). While this is nice, this isn’t what I am actually looking for. I would like a F-Zero sort of effect, where if the player hits the wall, it bounces the ship back.

After researching for an answer, I have only found some Blueprint remedies. Well, being that I think (still learning UE4, btw) that if you start out with a Blueprint project, you can’t access anything outside the header files, and if you’re using a C++ project, you can’t access the Blueprint for your ship (if this is the case, could someone explain to me why, as I would really like to know?), the Blueprint help is pretty much useless.

So, this (unless I can use a Blueprint fix for this) leads me into C++. Which doesn’t bother me, except I don’t know where to start looking in the API for any answers. Could anyone point me in the right direction? If anyone knows a good way to accomplish this, wouldn’t mind helping me figure this out?

Thanks in advance.

Have you tried using a physical material on the ship?
If you set its combination mode to multiplication and set its friction to 0 you should get the effect you’re describing.

Hope that helps