# Adding multiple force/impulse sources, while capping each source max contribution of the total velocity?

**URL:** <https://forums.unrealengine.com/t/adding-multiple-force-impulse-sources-while-capping-each-source-max-contribution-of-the-total-velocity/2014922>\
**Category:** Blueprint\
**Tags:** force, unreal-engine, velocity, Blueprint, question\
**Created:** [September 10, 2024, 4:28pm UTC](https://forums.unrealengine.com/t/adding-multiple-force-impulse-sources-while-capping-each-source-max-contribution-of-the-total-velocity/2014922 "2024-09-10T16:28:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleeph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aleeph](https://forums.unrealengine.com/u/Aleeph)\
**Post date:** [September 10, 2024, 4:28pm UTC](https://forums.unrealengine.com/t/adding-multiple-force-impulse-sources-while-capping-each-source-max-contribution-of-the-total-velocity/2014922/1 "2024-09-10T16:28:50Z")

</div>

Hi,

**Question:**  
How do I add multiple sources of physics forces/impulse to a character, while capping the max velocity from each source?

**Context:**  
I’m creating a physics based ball character, similar to in this video ([https://youtu.be/Bt8o4o0Icn4?t=164](https://youtu.be/Bt8o4o0Icn4?t=164)). This is what I want to achieve:

1. The players _input WASD movement_ speed is has a max cap. Lets say 100 velocity.
2. When stepping on a _speed boost platform_, you accelerate up to 25 extra velocity for 2sec, able max of 125 velocity using both sources.
3. Getting bumped by another physics character lunches you away, potentially adding up to 50 extra velocity.  
**Total velocity = WASD velocity + boost platform + other forces**  
With all forces having their individual max velocity/speed.

In other words, I want to stacking multiple sources of physics, and capping each max velocity from the sources. How would I structure this? Any ideas are appreciated! 🙂

**Attempts so far:**  
This is how I can clamp the max velocity of (1) the _WASD input movement_, but the problem is that that all other sources is ignored when I’m at Max.  
If I instead temporary increases the max speed to 125 for 2 seconds when touching a _boost platform_, I can’t be sure that the additionl 25 is used by the platfrom, but could be used up by more velocity from the _WASD input movement_.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/9/b9907bf7f04d55748b975cc68591c6f8506cac7b.png)
