Spawning Actors in C++ for Unreal Engine in 2 Minutes!

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025

ความคิดเห็น • 4

  • @ДмитроГорпинюк-л4л
    @ДмитроГорпинюк-л4л หลายเดือนก่อน

    and what about constructors? does SpawnActor only works with templates(clases) with default constructors or i can manualy specify how exactly i want to spawn my actor(constructor with params or copy constructor). Maybe you could recomend some techincs to acomplish such task. Thanks!

  • @farce2734
    @farce2734 2 หลายเดือนก่อน

    What of spawning characters from game mode? Will you also spawn player controllers too?

    • @PobatoTutorials
      @PobatoTutorials  2 หลายเดือนก่อน

      Do you mean if you spawn a character manually in the game mode?

    • @farce2734
      @farce2734 2 หลายเดือนก่อน

      @PobatoTutorials Yes. Having to spawn characters from the game mode and assign controller inputs to them. I think that's often the best practice so that the game mode can have every and any access to the player characters. For example, when the game starts, the game mode spawns the characters and anything related to characters' death, ability, etc would be visible to the game mode. The game mode can even determine who wins the game, who died first, etc. Correct me if this is the right approach to a simple fighting game