I want to attach an actor who previously had physics enabled. If the actor’s physics is turned off from the beginning of the simulation, then everything is fine. If you turn on and off physics at least once, the actor can no longer be attached.
I understand that this is due to the limitations of the engine, but is there really no way to get around this?
collisionBody->SetSimulatePhysics(false); AttachToComponent(parentSceneComponent, FAttachmentTransformRules(EAttachmentRule::SnapToTarget,EAttachmentRule::SnapToTarget,EAttachmentRule::KeepRelative,false), socketName);