Making a Raycasting Hitbox (ex. Ambush from Doors)

Hello, everyone knows the game DOORS. So I’ve been wondering, how can I make a raycasting hitbox,
similar to Ambush’s raycast hitbox.

No one talked about this yet, so I’ll be the first.

1 Like

Whenever a player enters a closet, or any hiding spot you set an attribute letting the game know the player is hiding. I’m not certain what method they use for raycasting but what you can do is run raycasts going to each player but with a distance in unit. If it connects you check if they’re hiding if not then ambush chases them and ends them.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.