Download

How to make custom bounce when colliding

Hi.

I’ve try to do actor with projectileMovementComponent bounces from the other actors when colliding but with angle what i want.
I try to use onHit events to change velocity of projectileMovementComponent but get no bouncing.
For example: I have a dron moving (vector (1.0, 0.0, 0.0)) after collision with anything i want it move (vector (-1.0, 0.0, 0.0)) regardless of shape and velocity other actors or anything else.
i try to like this:
dd0691e2f2021fcf6f6c831fe73a01e9df55be92.png