Blockland Forums > Modification Help
Determine if brick is completely covered
(1/3) > >>
Greek2me:
Does anyone know a way to determine if a brick is completely covered? The solution should not use raycasts.
Rally:
Just spitballing here, but if it were me I’d try a box container search to get everything covering the brick, getting the world box of those bricks, and trying to calculate how much surface area they cover vs the surface area required to cover the brick
Zeblote:
bl only does coverage client sided. If you need a server side solution you'll have to do it all manually (box search around the brick, test whether bricks are covering a face, sum up covered area for each direction, compare with size of brick)

I imagine that'll be quite slow if implemented in torkscript.
Greek2me:
That's not what I wanted to hear. Thanks though.
phflack:
I'm guessing even if it's a local server, the client checking if a brick is hidden wouldn't be available to the server bits?
Navigation
Message Index
Next page

Go to full version