I’d like to create a system where a function is executed when a player is completely obstructed from the camera. The only solution I can think of is to create multiple raycasts from the camera pointing at each vertex of the character model, but of course this would be very resource intensive.
Player partly obstructed (function isn’t executed)
Player fully obstructed (function is executed)
Any help would be appreciated, thanks!