I’m having an issue with my spring arm spawning inside the object I setup the attachment to. I attach it like this after the actor is spawned and in the world.
SpringArmComponent->SetupAttachment(Target->MeshComponent);
SpringArmComponent->AttachToComponent(Target->GetRootComponent(), FAttachmentTransformRules::KeepWorldTransform);
The problem is the Camera is inside the object, if I turn off the collision probe It attaches fine. However, I don’t really want to have that turned off. I was thinking about turning collision off for a second and then turning it back on but that seems a bit hacky and I feel like fixing the issue at hand would be better.
Would love some advice on this! Thanks!