Iv’e added a scene capture component in c++ to my player blueprint and i attach it to a camera boom component which is also add via c++ but my capture component doesn’t attach? it just default attaches to the root?
It does how ever attach to the camera boom on run-time if i tell it to in the begin play function, so i don’t think it is violating anything.
here is my code:
CaptureCamera = PCIP.CreateDefaultSubobject<USceneCaptureComponent2D>(this, TEXT("CaptureCamera"));
CaptureCamera->AttachTo(CaptureBoom);
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera)
class USceneCaptureComponent2D* CaptureCamera;
I also cant move the capture component in the blueprint, the transform tab only shows scale and not rotation or position?