pmmp / Math

PHP library containing math related code used in PocketMine-MP
GNU Lesser General Public License v3.0
41 stars 20 forks source link

calculateIntercept will only return Down Side or North Side #52

Closed UnknownOre closed 3 years ago

UnknownOre commented 3 years ago

so i was testing the faces from Ray Trace result returns using a pearl no matter from where i throw the pearl the faces will always return Down Side (0) or North Side (2), is it supposed to be like that or that just a bug todo with calculateIntercept in boundingBoxes?

dktapps commented 3 years ago

It's just you. If this was actually broken, all kinds of things would be broken with it, such as arrows.