MousePick() new bug

Everything related to 3D programming
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

MousePick() new bug

Post 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 :?
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: MousePick() new bug

Post 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()
Please correct my english
http://purebasic.developpez.com/
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MousePick() new bug

Post by Psychophanta »

It say it at the returned value, so, that function is an almost absolute nonsense, just the word you enjoy :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
mk-soft
Always Here
Always Here
Posts: 6231
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: MousePick() new bug

Post by mk-soft »

But worked with v6.00, but not with v6.02
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MousePick() new bug

Post 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.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Fred
Administrator
Administrator
Posts: 18167
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: MousePick() new bug

Post 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 :)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: MousePick() new bug

Post by Psychophanta »

They are mostly bug-features. But this one is a clean bug introduced after the PB6.00
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply