unreal.SpawnActorCollisionHandlingMethod
¶
- class unreal.SpawnActorCollisionHandlingMethod¶
Bases:
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: SpawnActorCollisionHandlingMethod¶
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: SpawnActorCollisionHandlingMethod¶
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: SpawnActorCollisionHandlingMethod¶
Actor will spawn in desired location, regardless of collisions.
- Type:
1
- DONT_SPAWN_IF_COLLIDING: SpawnActorCollisionHandlingMethod¶
Actor will fail to spawn.
- Type:
4
- UNDEFINED: SpawnActorCollisionHandlingMethod¶
Fall back to default settings.
- Type:
0