# How can I make a ball bouncing more consistent?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-a-ball-bouncing-more-consistent/1194939>\
**Category:** Blueprint\
**Tags:** rolling-ball, unreal-engine, Physics, question\
**Created:** [June 10, 2023, 2:08pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-ball-bouncing-more-consistent/1194939 "2023-06-10T14:08:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adamiomn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Adamiomn](https://forums.unrealengine.com/u/Adamiomn)\
**Post date:** [June 10, 2023, 2:08pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-ball-bouncing-more-consistent/1194939/1 "2023-06-10T14:08:03Z")

</div>

Hi there!

I have a ball that falls down from a starting position. I save the initial transform in a variable. It then hits a few angled planks, bouncing and/or rolling off of them. When the ball reaches the ground, I reset its transform and reset the linear and angular velocity. However, the way the ball bounces/rolls is fairly inconsistent. Sometimes it takes the same path 10-20 times but sometimes it seems to retain more or less momentum and ruins the determinism.  
Is there a way of making this more consistent? Did I forget to reset something else?

Thanks in advance for any help 🙂

---

<div class="post-metadata">

**Author:** ![Midisport\_8x8s](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Midisport\_8x8s](https://forums.unrealengine.com/u/Midisport_8x8s)\
**Post date:** [June 10, 2023, 4:23pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-ball-bouncing-more-consistent/1194939/2 "2023-06-10T16:23:54Z")

</div>

I think this is a limitation of the physics engine. UE5 doesn’t have determinism. “Enable Enhanced Determinism” in project settings could help though.

---

<div class="post-metadata">

**Author:** ![Adamiomn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Adamiomn](https://forums.unrealengine.com/u/Adamiomn)\
**Post date:** [June 10, 2023, 6:18pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-ball-bouncing-more-consistent/1194939/3 "2023-06-10T18:18:31Z")

</div>

Thanks! I’ll try that!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 10, 2023, 6:18pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-ball-bouncing-more-consistent/1194939/4 "2023-07-10T18:18:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
