C++ Spawn Actor UE4 / Unreal Engine 4 C++

preview_player
Показать описание

UE4 C++:
This playlist covers various aspects of working with C++ inside of the Unreal Engine.

This Video:
In this video, we create a camera shake and implement it into our character class fire function.

Links:

RECOMMENDED READING - Game Theory Books -

Рекомендации по теме
Комментарии
Автор

Nice video. Amazing series. It helped me learn Unreal Engine from scratch, which I wanted to from a while, especially using C++.

ramesh
Автор

Thank you for this!
this channel has helped me learn UE C++ pls make more C++ tutorials.

igotbit
Автор

perfect, thanks for this.
Bookmarked the playlist for reference.
building somethin'

mattgraves
Автор

Could you use the same spawning functionality for procedurally generated content? ie, in the begin play of some root actor, spawn in a lot of other actors based on a random seed?

samplebriefmint
Автор

How would you set behavior tree to your spawned actor?

zeond
Автор

Thanks for the video! Could you please help? Can an auto variable in this case be replaced with a specific type? If so, how do you write this type?
Sample code:
auto ItemToSpawn = ASA_Cube::StaticClass();
ASA_Cube* TempVarForSpawedActor = GetWorld()->SpawnActor<ASA_Cube>(ItemToSpawn, Loc, Rot);

crossoutepicbattles
Автор

i need 1 variable to be set in the constructor, is there any way to do this?

longbowman
Автор

For some reason my objects keep spawning at the origin, and only there?

azzydevelopment
Автор

Thanks for the video. Very helpful.
Do you have any thoughts on how to spawn an actor from an Editor Plugin ?
( i.e. from a custom button in the editor at design time )
I have a c++ "Editor Mode" plugin from the built in template and can move existing objects around, but would like to create/place/spawn a new actor.

TimEllershaw
Автор

Is the actor we want to spawn already in the memory (Ram and VRam) at the very beginning? If so, how to dynamically load an actor at runtime?

kinggore
Автор

5:57 you finally laughed lmao, never heard you laughing loll

Kdd
Автор

Just one question about spawning parameters. Say If you wanted to spawn an actor where two meshes intersect, (floor and wall) and you want to spawn an actor so it’s snug against both surfaces. Could you use the spawning parameters to achieve this or would You have to do something more complex that Would involve coding specific collision testing?

simpill
Автор

Here you add the Actor To Spawn from the dropdown list (12:19 min) BEFORE the game start. My question is - how to do this programmaticaly in c++? I mean How to assign the actor-to-spawn in the C++ code? That would give us way more flexibility - in such a way you can assign the actor-to-spawn of choice at runtime, after the game has already started or spawn multiple actors at a time.

valeryshevchenko
Автор

Shoutout if you recognized the voice in this video!

JenniferDawe
Автор

super tutorial but saying "thee" all the time is pretty annoying ...

alexboehm