Physics Simulation of ProceduralMeshes

I generate Procedural Meshes from geometry data at runtime and then spawn Actors with a ProceduralMeshComponent to bring these meshes into my game world. These Meshes need to simulate Physics on User input.

However, setting “Simualtes Physics” via Blueprint does not work, the Meshes just remain stationary. Gravity is enabled and I assigned some mass to the ProceduralMeshComponent, too.

What can I do?

procmesh.zip (243.5 KB)

Thank you for your response. I am using the ProceduralMeshComponent, though.



procmesh2.zip (39.5 KB)

This seems to have changed something as some of the Meshes show some very minor reaction when Simulate Physics is activated. However, apart from this initial reaction. the Meshes still remain stationary.

did you uncheck use complex as simple collision on the proc mesh component?

Check the example I sent, it has poly that falls to the floor and collides with it.

1 Like

I did not! It works now, thank you!

If you like, I would welcome you to elaborate briefly why this caused the Meshes to behave the way I observed before.

When I was doing the previous version of the sim any type of use of complex as simple collision would prompt an error from the engine saying that it cant simulate physics with that option.

So I looked up if anyone else had the same conflict with the procedural component. Found a case online and checked if unchecking it unfreezes the sim. And it worked :slight_smile:

1 Like

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