How can I make a ball bouncing more consistent?

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 :slight_smile:

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

Thanks! I’ll try that!

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