# Velocity reduced unexpectedly in chaos

**URL:** <https://forums.unrealengine.com/t/velocity-reduced-unexpectedly-in-chaos/561132>\
**Category:** C++\
**Tags:** unreal-engine, UE5-0, CPP, question\
**Created:** [May 19, 2022, 2:42pm UTC](https://forums.unrealengine.com/t/velocity-reduced-unexpectedly-in-chaos/561132 "2022-05-19T14:42:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DragonLiSoftware](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dragonlisoftware/32/703445_2.png) [@DragonLiSoftware](https://forums.unrealengine.com/u/DragonLiSoftware)\
**Post date:** [May 19, 2022, 2:42pm UTC](https://forums.unrealengine.com/t/velocity-reduced-unexpectedly-in-chaos/561132/1 "2022-05-19T14:42:12Z")

</div>

I am doing some physics simulation. I use AddForce and AddTorqueInRadians at every Tick to control a static mesh’s movement. My code works very well with PhysX in UE 4.27.2; but in UE5.0.1, the linear and angular velocity reduced unexpectedly during random time.

The picture is a statistic made by my UMG. I add a positive force (bigger or smaller depends on other factors, but always positive) at every frame, but the velocity reduced sharply about every 2-3 seconds. By the way, I did not add any constraint manually, but I am not sure if there’s some in chaos (while not in PhysX before)

![chaosError](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/1/9715f14c9531ae8fa5d5cf61fa9b507690d3b374.png)

Could anyone please help me about this?

---

<div class="post-metadata">

**Author:** ![PanWilson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PanWilson](https://forums.unrealengine.com/u/PanWilson)\
**Post date:** [May 30, 2022, 10:37pm UTC](https://forums.unrealengine.com/t/velocity-reduced-unexpectedly-in-chaos/561132/2 "2022-05-30T22:37:33Z")

</div>

Its known issue [Unreal Engine Issues and Bug Tracker (UE-149771)](https://issues.unrealengine.com/issue/UE-149771) This was temp solution that worked for me p.Chaos.Solver.SleepEnabled 0

---

<div class="post-metadata">

**Author:** ![Kanteh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kanteh](https://forums.unrealengine.com/u/Kanteh)\
**Post date:** [June 13, 2022, 11:00pm UTC](https://forums.unrealengine.com/t/velocity-reduced-unexpectedly-in-chaos/561132/3 "2022-06-13T23:00:26Z")

</div>

Thank u for sharing ur solution
