So I’ve been struggling to create a simple sphere as a projectile and make it bounce.
The problems I’ve come across are the following:
With physics YES; bounce YES , friction 0 and bounciness 1 I got two problems
- The projectile loses speed every time it bounces off of a wall
- The projectile starts in XY plane, yet it bounces a bit in Z too, which shouldn’t happen. (I’ve tried restricting it via the plane, the Z movement, yet it goes in a different weird plane this way)
I’ve also tried doing a trace line by channel (2 times), calculating the bounce using below:
If then I try to make the projectile switch directions, when overlapping/hitting the wall, it doesn’t do that…
How could I accomplish this in blueprints? Thanks!