Hey guys. I have an ACharacter with a custom component that inherits USceneComponent, which itself has two UPROPERTY fields for base USceneComponents. Nothing too complicated, this is the hierarchy:
The intention is for CustomSceneComponent to use the relative positions of SceneComponent1 and 2 to show things relative to character. This seems pretty straightforward, and these items appear in the correct hierarchy in the Blueprint Editor Viewport, but I’m unable to move SceneComponent1 or SceneComponent2 - the gizmo simply ignores any attempt I make to drag it in any direction. I’m not sure where along the way I’ve gotten it wrong. Dragging around the CustomSceneComponent itself works perfectly fine.
Here’s what my declarations in CustomSceneComponent.h look like
This is the code I’m using to create the components in the constructor of CustomSceneComponent
Here’s what the hierarchy looks like in the Blueprint Editor. Everything behaves as expected except for High/LowIndicatorTransform
If I’m missing enough info to describe my problem, or if I’m simply approaching this the wrong way altogether, (this is essentially what I’d do in Unity) let me know. I’ve spent a few hours trying different things and getting results of varying strangeness, and I’m pretty close to just replacing the child USceneComponents with simple FVector position fields, which I think is pretty lame!