GetBoundsComponent -> BoxExtent Always 0 (x=0 y=0 z=0) - DynamicMesh

I’m adding a Blueprint of type GeneratedDynamicMeshActor as a component in a Blueprint Actor.

Therefore, we will have 2 Blueprints:

The first Blueprint GeneratedDynamicMeshActor. BP_DM

Which will contain a piece with the “CopyMeshFromStaticMesh” of a static mesh.

The second Blueprint of type Actor. BP_A
Adding the DynamicMesh (BP_DM) as a ChildActorComponent to a Blueprint of type Actor (BP_A):

Therefore, we will have that BP_A will have a ChildActorComponent component BP_DM

  • BP_A (Blueprint Actor)
    • BP_DM (ChildActorComponent)

The problem is that when I loop through that ChildActorComponent DynamicMeshComponent


The GetComponentBounds → BoxExtent always returns x=0, y=0, z=0

It works fine with a simple Blueprint Actor and Static mesh, but not with a Blueprint GeneratedDynamicMeshActor.

Does anyone have an idea?

Remember that everything related to DynamicMesh is always better to use the Unreal Engine Plugin “geometry script”. If not, you will not be able to use it.

For some reason the limits of the static mesh are not computed. (Surely there is something that computes the vertexs for you)
So since I can’t find a possible way (surely there is some way) what I do is have it duplicated.



With this I can get the GetComponentBounds correctly.
Surely there is an elegant way to do this instead of wasting resources. I have not found it.

Sometimes you have to do dirty things because things don’t work as they should.