I have a problem when with the IgnoreActorWhenMoving function, it doesnt seem to work at all.
PcCharacter->MoveIgnoreActorAdd(this);
PcCharacter->GetCapsuleComponent()->IgnoreActorWhenMoving(this, true);
PcCharacter->GetMesh()->IgnoreActorWhenMoving(this, true);
Mesh->IgnoreActorWhenMoving(PcCharacter, true);
I tried all these function and the mesh is still blocking the character.
Abit of context: I have a player character that can board an aircraft, when I do I attach the character to the aircraft but I call all those functions before I do that.
I know it doesn’t work because the aircraft goes mental and I print the component in the aircrafts (Mesh)OnComponentHit and it prints the capsule and the character mesh every frame.
I have also tried IgnoreComponentWhenMoving with any thinkable combination but nothing seems to have any effect
Thanks in advance.