Friday, May 15, 2020

Unreal Engine 4: Stop Physics Objects from Passing Through Collision at High Speed

If you're having problems with your physics objects passing through the collision of other objects, there might be a simple fix--Continuous Collision Detection. In your actor's Blueprint, open up the Construction Script, drag a wire from the Construction Script node and create a "Set Use CCD" node. Set "In Use CCD" in the node to true. Hook up the problem mesh as the target of the Set Use CCD node.

The problem mesh in my case is a ball
And that's it. This one had me banging my head against a wall for a few days. I sifted through countless help articles and forum posts to no avail. I'm not even sure how I found the answer. I forgot how I fixed the problem and actually had to search through my browser history, where I found this in the Unreal Engine Documentation, just to write this article.

If you're having a similar problem, hopefully this will be a fix for you.

No comments:

Post a Comment