Why Destructible Mesh Actors make FPS slow
I'm making The game using Many Destructible Mesh Actors.
Normally, it maintains 90 fps.
when i see a Scene 400 or more placed Actors, it makes fps 30~60
but, placing just static mesh actors, it maintains 90 fps even if i place 1500 or more !
how can i do?
asked Nov 24 '16 at 10:27 AM in Using UE4
Hi. Destructible meshes are actually a bunch of shard meshes in a collection, so I recommend making a modular blueprint with a static mesh variable and a destructible mesh variable. Then, on construction script, set a static mesh component to the mesh in the static mesh variable, when you fire an event in the blueprint, destroy the static mesh component and create a DM component with its mesh set to your destructible mesh variable. For instance, when you left click line trace, if hit actor is dynamic mesh destruction actor, as dynamic mesh desruction actor, call event programmed to break it. So, if you wanted to break a window you made, simply you would left click and it would break. (You may need to add impulses to have the mesh shatter.
answered Dec 15 '16 at 07:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here