I have a blueprint that modifies the position of a scene root on construction. How can I do something similar in c++? I can’t put it in the constructor, because the variables are all set to their default values there. If I put it in BeginPlay, it works nicely, but only when I’m actually simulating / playing, not in the editor itself.
EDIT: solved it… you just need to use
virtual void OnConstruction(const FTransform& Transform) OVERRIDE;