So i want to change characters when i click a button. - YouTube
This is what i mean how would i go about doing that
Either swap the Skeletal Mesh + Animation Blueprint , or Destroy your current character and Spawn + Possess a new one.
use Spawn Actor From Class
. And there’s no need for GetAllActors , you always have access to GetPlayerCharacter
, just after that use Cast to CH_MyCharacter
So this is what ive done but the character has to be in the lvl for it to possess is there a way it doesnt have to be in the level? sorry i am new to ue4
what about ‘‘spawn tranform’’ in the spawn actor what do i put there
so it destroys it but doesnt spawn new
there’s an error, you need to provide a Transform. You should: GetWorldTransform of your character before you delete it, promote to variable, then use it to spawn your new character. Also, connect the output from Spawn Actor,(Return value) to the Possess function
So this is what ive done so far still not spawning character am i missing something ?