unreal.SpawnActorCollisionHandlingMethod

class unreal.SpawnActorCollisionHandlingMethod

Bases: unreal.EnumBase

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

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

ADJUST_IF_POSSIBLE_BUT_ALWAYS_SPAWN

Actor will try to find a nearby non-colliding location (based on shape components), but will always spawn even if one cannot be found.

Type

2

ADJUST_IF_POSSIBLE_BUT_DONT_SPAWN_IF_COLLIDING

Actor will try to find a nearby non-colliding location (based on shape components), but will NOT spawn unless one is found.

Type

3

ALWAYS_SPAWN

Actor will spawn in desired location, regardless of collisions.

Type

1

DONT_SPAWN_IF_COLLIDING

Actor will fail to spawn.

Type

4

UNDEFINED

Fall back to default settings.

Type

0