Is there a way to show a dynamic preview mesh in the level viewport?

Ok.

You need an inheritance hierarchy, so your parent pawn class, and children. Each sets it’s mesh in construction with an instance editable variable ( because that’s what happens in the parent ).

Then in the spawner, we have

where ‘pawn class’ in a variable of the parent class type.

Then you can set the class in the level, and see the mesh

pawn2

1 Like