Download

Can I make type conversion in BluePrint ?

Can I make type conversion in BluePrint ?
For example, convert variable of skeletal mesh into variable of static mesh and get mesh.

You cannot convert,but only cast types and thus only downwards the hierarchy tree (unless your dynamic type is upwards).

Primitive -> Box
Primitive -> Sphere

You can cast from Box to Primitive, but not from Sphere to Box.
This means you cannot cast from StaticMeshComponent to SkeletalMeshComponent and vice versa.

If you want to have a skeletal mesh as a static mesh, you have to import your model without a skeleton.

Thanks. .