How to check if theres a wall behind a player?

Hi developers. i’m planning to implement the “Wall Combo” mechanic from The Strongest Battlegrounds to my PvP game. If you don’t know what is it, watch the 1 minute video from this link. Every reply will be appreciated !

uh i’m not sure if this would be the best approach in your scenario

but i guess you could fire a raycast that checks behind the player

How does raycasts work? I never used one of them.

raycasts are just an invisible line

1 Like

You could use basic raycasting or even blockcasting

1 Like