A
AirforceMook
Guest
I have an odd situation in which I need to check if a pixel is in ANY way covered by other objects even if their bounding box is far away.
An example I'm currently facing is a tree that is 100+ pixels tall but the bounding box is a small square only at where the trunk meets the ground (so players can walk behind the tree). I still need to know if the top of the tree is covering a certain pixel because I don't want to spawn an object where it can't be seen.
An example I'm currently facing is a tree that is 100+ pixels tall but the bounding box is a small square only at where the trunk meets the ground (so players can walk behind the tree). I still need to know if the top of the tree is covering a certain pixel because I don't want to spawn an object where it can't be seen.