Spawn actor with original scale

I have block bp class and BlockSpawner class.
In block I have default scene root scale with some values
screenshot

But in BlockSpawner in spawn actor function scale overrides with (1.0, 1.0, 1.0).
screenshot

How can I get the scale of block in BlockSpawner ?

ps. this question was useless for me https://answers.unrealengine.com/questions/521825/spawn-actor-with-original-scale.html

There’s a couple of ways:

Keep the scale in a variable in the actor and apply it in its Construction Script, this way it’s overridden:


Another way is to use Class Defaults as sometimes you may need to know the data before you instantiate:

Again, store it in a variable.

1 Like