# How do I change the speed of a physics object?

**URL:** <https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006>\
**Category:** World Creation\
**Tags:** unreal-engine, FeatureRequest, Physics, speed, Blueprint, question\
**Created:** [June 20, 2019, 4:10pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006 "2019-06-20T16:10:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd321320](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd321320](https://forums.unrealengine.com/u/anonymous_user_fd321320)\
**Post date:** [June 20, 2019, 4:10pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006/1 "2019-06-20T16:10:45Z")

</div>

in the game that im working on the player is a ball, im using torque to give the ball its movement. the problem is that even when I stop controlling it the ball never stops it has a constant speed unless I press the key that goes in the opposite direction it wont stop.

How do I make the ball deaccelerate via drag?

How do I set a limit to the maximum speed of the ball? or make its acceleration slow the more it gains?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 20, 2019, 4:55pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006/2 "2019-06-20T16:55:33Z")

</div>

> How do I make the ball deaccelerate  
> via drag?

Increase angular dampening on the ball. Default is low at 0.1. Set it to 5.0 and it should not go faster than a couple of meters / s.

> How do I set a limit to the maximum  
> speed of the ball?

As above.

> or make its  
> acceleration slow the more it gains?

You could map range the length of the velocity vector to 0-1, do `1-value` and multiply it by the input axis. The faster you go, the less you can accelerate; at certain speed this will be 0. If you also have angular dampening, this will balance itself out. Some tinkering might be required to get the values right.

Same method can be applied to angular dampening, the faster you go, the more drag there is.

---

<div class="post-metadata">

**Author:** ![emrecetinkayasf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emrecetinkayasf](https://forums.unrealengine.com/u/emrecetinkayasf)\
**Post date:** [June 20, 2019, 7:12pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006/3 "2019-06-20T19:12:27Z")

</div>

You can use Velocity and Add impulse blueprint scripts and also you can follow this link too [#7 Using Blueprints to Control the Angle and Velocity of the Ball | UE4 Tutorial - YouTube](https://www.youtube.com/watch?v=fEtycesigFU)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 20, 2019, 7:15pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006/4 "2019-06-20T19:15:43Z")

</div>

How is this helping? OP said they’re using torque… ;p Also the video does not cover what’s needed at all.

---

<div class="post-metadata">

**Author:** ![emrecetinkayasf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emrecetinkayasf](https://forums.unrealengine.com/u/emrecetinkayasf)\
**Post date:** [June 22, 2019, 12:08pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-speed-of-a-physics-object/451006/5 "2019-06-22T12:08:41Z")

</div>

Join to our discord I can help by person [Discord](https://discord.gg/MPpYjP)
