Skip to main content

Procedural DungeonRoom ⏵ Is Player Inside

Is Player Inside

Category: Room

Description

Is the player currently inside the room?
A player can be in multiple rooms at once, for example when he stands at the door frame,
the player's capsule is in both rooms.

Node

C++

bool IsPlayerInside() const

Inputs

NameTypeDescription
TargetRoom Object Reference

Outputs

NameTypeDescription
Return ValueBooleanIs the player currently inside the room?
A player can be in multiple rooms at once, for example when he stands at the door frame,
the player's capsule is in both rooms.