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.