Collision Issues

Hi all, I am new to game development and i have trying to add impulse to an Actor which is a ball.
The problem is that when the ball is hitting a wall with below mentioned “3000speed”, it will randomly, sometime passing though the wall, or sometime act normally as bounce back. It is totally randomly, i have already set the ball and also the wall as “blockAll” at the collision setting.

FYI, the ball will “100% Always” trigger the overlap collision event no matter passing though or hitting the wall.
FYI2, if i set the speed be around 1000~1500, it will always bounces back, works fine.

I wish the ball be 100% bounce back when hitting the ball, even if i set the speed higher. May I know what should I do? with my biggest thanks :frowning:

Hello there @bababalabu!

Welcome to UE! Your setup looks good, the sphere’s behaviour should be consistent. This is most likely due the high level speed of the ball, it’s covering a lot of distance in a single tick, enough to bypass physics check.

The first option that comes to mind is to use CCD (Continuous Collision Detection) on your sphere mesh. Simply open the details panel, and enable it:

If somehow, the ball continues to bypass walls, the next step would be to increase the rate of the ticks in your project, via Substepping. This setting can be enabled from Project settings. After activation, you can set thresholds values for ticks. This of couse, could be taxing for the scene, please ce careful.

More details on this feature can be found in its related documentation. Hope this helps!

1 Like

OMG!!!
the CCD option works!!!
Thanks my friend :smiling_face_with_tear:

1 Like