I have an Actor which contains a hierarchy of SceneComponents, and I would like to put limitations on the 3D scale of various SceneComponents in the hierarchy even while the parent Actor itself is scaled up or down.
I would like to set a minimum and maximum scale for each of these SceneComponents so that:
- When the parent Actor is scaled up, these SceneComponents would grow no larger than their specified maximum scale.
- When the parent Actor is scaled down, these SceneComponents would shrink no smaller than their minimum scale.
Is there an existing way to do this in Unreal Engine?
I am looking into modifying USceneCompnent
to add this functionality, but if there is any existing solution that would be very helpful.