ESpawnActorCollisionHandlingMethod

Syntax

enum ESpawnActorCollisionHandlingMethod
{
    Undefined,
    AlwaysSpawn,
    AdjustIfPossibleButAlwaysSpawn,
    AdjustIfPossibleButDontSpawnIfColliding,
    DontSpawnIfColliding,
}

Values

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.

Remarks

Defines available strategies for handling the case where an actor is spawned in such a way that it penetrates blocking collision.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h