I’m having a lot of success extending ApexDestructibleActorSpawnable to spawn destruction effects for my various base building pieces.
I spawn these when the building item is destroyed.
However, there is no SetApexAsset() function on the ApexStaticDestructibleComponent class.
Meaning, currently I would have to have a .uc file for every single Apex mesh variant I want to spawn.
Deleting the const from Asset in ApexComponentBase, and then manually setting the ApexAsset doesn’t seem to work either. Then no mesh shows at all.
Is there no way to set the ApexAsset on ApexStaticDestructibleComponent via script at runtime?