Skip to main content
Version: 3.6

Procedural DungeonDungeon Generator Base ⏵ Try Place Room

Try Place Room

Class: Dungeon Generator Base
Category: Generation Algorithm

Description

Set the position and rotation of a room instance and return true if there is nothing colliding with it.

Node

C++

bool TryPlaceRoom(const URoom*& Room, int32 DoorIndex, const FDoorDef& TargetDoor, const UWorld* World) const

Inputs

NameTypeDescription
InExec
TargetDungeon Generator Base Object Reference
RoomRoom Object Reference (by ref)
Door IndexInteger
Target DoorDoor Def Structure (by ref)

Outputs

NameTypeDescription
OutExec
SuccessBooleanSet the position and rotation of a room instance and return true if there is nothing colliding with it.