Page 1 of 1

MousePick() new bug

Posted: Thu May 11, 2023 8:04 pm
by Psychophanta
Please test the example from the package in the i386 version: when pick at the flat near the green sphere, it returns as the sphere was picked.
Brrr :?

Re: MousePick() new bug

Posted: Sun May 14, 2023 9:12 am
by Comtois
Doc say :
Result = MousePick(#Camera, x, y [, PickMask])

The entity pick is based on its bounding box, not on its mesh.
Use MouseRayCast()

Re: MousePick() new bug

Posted: Sun May 14, 2023 9:21 am
by Psychophanta
It say it at the returned value, so, that function is an almost absolute nonsense, just the word you enjoy :)

Re: MousePick() new bug

Posted: Sun May 14, 2023 9:32 am
by mk-soft
But worked with v6.00, but not with v6.02

Re: MousePick() new bug

Posted: Sun May 14, 2023 9:36 am
by Psychophanta
@mk-soft, of course :)
So, i ignore why there are sometimes, voices "defending" backward features (bugs).

If these kind of functions are not accurate, then the engine3d is not valid not even for simplest games.

Re: MousePick() new bug

Posted: Sun May 14, 2023 9:59 am
by Fred
Psychophanta wrote: Sun May 14, 2023 9:36 am @mk-soft, of course :)
So, i ignore why there are sometimes, voices "defending" backward features (bugs).
To be fair, most of the bugs you report are actually no bugs :)

Re: MousePick() new bug

Posted: Sun May 14, 2023 1:25 pm
by Psychophanta
They are mostly bug-features. But this one is a clean bug introduced after the PB6.00