Longhouse

Vaettir · 1.3.0 · Fixed

"Sometimes it says there is nothing to dig up." Transplant took the first Pickable out of Physics.RaycastAll and answered with it - and RaycastAll returns its hits in ARBITRARY order, not nearest first. So whichever pickable the array happened to list first spoke for the plant you were actually aiming at, and when that one was not on the roster the dig was refused with a bush filling your screen. Nothing about the failure depended on where you pointed, which is exactly why it read as intermittent. Hits are sorted now, a roster plant always beats a stranger however close, and a refusal names what it found ("Mushroom cannot be dug up") instead of claiming there is nothing there. A clean miss falls back to a cone, because wild plants are ragged and several carry a collider narrower than they look.

Discussion

Nothing said yet.

Sign in or make an account to join in.