Hi. I have some question on how to organize my classes. In particular, I don't really know when to prefer AActor over UObject.
From what I understood, AActor is designed to be used for object that have to be spawned in the level while UObject is just a generic object. However, I've seen people use AActor also for non-physical objects (such as "spells"). So I'm a bit confused on how to chose between the two.
To be more concrete, this is my actual case. I have a Map object that store some metadata plus a grid collection of Tiles. Now, Tiles are actors because I have to spawn them in the level, interact with them and so on. But I'm not sure if the Map should be an actor too or an uobject that is used to spawn the tiles.
Anyway, I'd really really enjoy more information, opinions or experiences on how do you choose between uobject and aactor in your projects.
Thanks
From what I understood, AActor is designed to be used for object that have to be spawned in the level while UObject is just a generic object. However, I've seen people use AActor also for non-physical objects (such as "spells"). So I'm a bit confused on how to chose between the two.
To be more concrete, this is my actual case. I have a Map object that store some metadata plus a grid collection of Tiles. Now, Tiles are actors because I have to spawn them in the level, interact with them and so on. But I'm not sure if the Map should be an actor too or an uobject that is used to spawn the tiles.
Anyway, I'd really really enjoy more information, opinions or experiences on how do you choose between uobject and aactor in your projects.

Thanks
Comment