Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
enum ESpawnActorCollisionHandlingMethod
{
Undefined,
AlwaysSpawn,
AdjustIfPossibleButAlwaysSpawn,
AdjustIfPossibleButDontSpawnIfColliding,
DontSpawnIfColliding,
}
Name |
Description |
---|---|
Undefined |
Fall back to default settings. |
AlwaysSpawn |
Actor will spawn in desired location, regardless of collisions. |
AdjustIfPossibleButAlwaysSpawn |
Actor will try to find a nearby non-colliding location (based on shape components), but will always spawn even if one cannot be found. |
AdjustIfPossibleButDontSpawnIfColliding |
Actor will try to find a nearby non-colliding location (based on shape components), but will NOT spawn unless one is found. |
DontSpawnIfColliding |
Actor will fail to spawn. |
Defines available strategies for handling the case where an actor is spawned in such a way that it penetrates blocking collision.