Projectiles Losing Velocity

Hi all!

So I have some objects spawning a BP which has a static mesh and a projectile component;when it has spawned the projectile, it adds an impulse to get it on its way and all seems good - until it comes to the bounce.

I have bounce turned on; bounciness at 1.0 with friction at 0 and BVSS at 0 also. Now, it DOES bounce… but it’s losing velocity - and by the second or third bounce, it has come to an almost complete stop.

I cannot seem to find a way to successfully add impulse to self, either, so cannot seem to boost the velocity back up in this manner.

Any help available?

Thanks all!

I doubt this is the best method, but you could make a projectile speed variable as a float. you could then on each tick get the linear velocity, normalize it, then multiply it by your projectile speed variable you defined. then set this value under set linear velocity this should allow it to continue in whatever direction you specify. You may have to change go and “set tick group” to after physics or something to make sure it ticks at the right time.

I would give you fancy bp pictures, but I am not at home. Hope this helps!

Hi,

I have same problem.
You solved it?
Or you used Dallin solution?

OK.

I Found answer.
I use example to explain.
Let’s assume that you have a ball and room.
Ball should bounce from walls and never lose any velocity.
You need set up ball with UProjectileMovementComponent where bShouldBounce is true, Bounciness is 1.0 and Friction is 0.0.
Then you need set up walls with PhysicalMaterial where Friction is 0.0, Restituation is 1.0, Restituation Combine Mode is Max, Restituation Combine Mode is checked.