Hello, im a beginner with unreal and im having an issue that many people also have, but none of the solutions i found online worked for me…
Here is the situation, i have 2 character in the level, one is a mecha the second one is the player.
i need to be able to possess my mecha with my player and then as the mecha i need to be able to repossess my player back.
i managed to do it, in the level blueprint when a key is pressed it flip-flop between the 2 possession.
The issue :
When i possess another character, no matter what, it create a camera inside the head of the mecha, even if the mecha character have zero camera attached to it, possessing it still create a camera inside its head.
But i absolutely dont want that, i want to be able to possess my mecha while keeping the previously active camera.
Solutions i tried :
1:
Some people are saying that there is an option to “disable auto camera management” in the controller, but i searched and i dont have any controller in my content drawer… where is that parameter found ?
2:
an other solution i’ve seen is to use an “Event Possessed” in the mech Blueprint and link that to a set view with blend and as a target find the previously active camera.
That would do the following : possess my mecha, create this unwanted camera but instantly switch it back to the previously active camera.
However this solution dosent work for me, because the set view target have multiple issues :
2-1
its a “target is player controller” so i’m plugging the “get player controller” in the target but it create an error when i close the game saying : “accessing none while trying to get player controller”
2-2
i cannot plug my camera anyway because my previous camera is a “cinecamera component” and the new view target requires a camera actor
The last solution i found is about enabling input on one character while disabling the input on the previous character and reverting that operation when i want to switch again, but the issue here is that i have ZERO clue on how to do it, i guess i need to create another controller but i dont understand what is a “controller” and i dont know how to configure it anyway.
Sorry for the long post, i tried everything in my capacity and searched for solutions for hours, but im stuck.
Image : my current system in the level BP to flipflop between my characters
Image 2 : the BP of my mecha, where im trying to revert the camera after event possessed
Image 3 : The camera that is created inside my mecha’s head