Procedural Dungeon ⏵ Dungeon 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
Name | Type | Description |
---|---|---|
In | Exec | |
Target | Dungeon Generator Base Object Reference | |
Room | Room Object Reference (by ref) | |
Door Index | Integer | |
Target Door | Door Def Structure (by ref) |
Outputs
Name | Type | Description |
---|---|---|
Out | Exec | |
Success | Boolean | Set the position and rotation of a room instance and return true if there is nothing colliding with it. |