Projectiles Losing Velocity
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?
asked Sep 25 '16 at 04:30 PM in Blueprint Scripting
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!
answered Sep 28 '16 at 05:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here