Is there a way of using playercontrol's posses on actors. I want posses different actors with the same playercontroller during runtime in C++

Is there a way of using playercontrol’s posses on actors. I want posses different actors with the same playercontroller during runtime but it only works for pawns. I have some functionalities implemented on my playercontroller class which I want any actor occupied or possessed by the PC to inherit. but implementing this in C++ has proved too difficult for me, I urgently need help.

If you’re trying to possess actors, you’ve set your game up incorrectly. Remake the actor you want to possess as a pawn instead. You could also make a pawn version of the actor and replace the actor with it, however this seems a little unnecessary.

In any case, Unreal has the structure laid out for you, and you should follow it (To avoid headaches). There is probably some technical way to force this to work, but theres a reason why you’re only allowed to possess Pawns or Characters - they are specifically set up to be possessed by a controller.

Hope this helps!

Thanks man, why I choose to use actor was just because I am dealing with meshes that are not supposed to be movable. Thanks a lot for the advice.