How slow is this function
Blitz3D Forums/Blitz3D Programming/How slow is this function
| ||
Changed it a little bit. Ok, LinePick doesn't seem to be working at all. What am I doing wrong? My homemade check function LinePick2 does return what I want, but it's slow as heck. Linepikc doesn't seem to be returning anything. Keys: 1 - home made check 2 - linepick 3 - linepick with start and destination coords |
| ||
=> to enable picking, you must set yours entitys's pickmode true with the 'EntityPickMode' command ! else, you'll never pick anything ... |
| ||
haha, in this example I forgot to throw that in. I'll fix it. |
| ||
I got all of them working, and one of the linepick functions was wrong too. |
| ||
you talk about this one ?Line_Pick(sx#,sy#,sz#,dx#,dy#,dz#, radius#=1) if so, maybe the correction i gave was right ? ;) ( I like to be congratulated xD ) |
| ||
no, the code inside that function was wrong. It's not: Return (LinePick(sx,sy,sz,sx-dx,sy-dy,sz-dz, radius#)) It's: Return (LinePick(sx,sy,sz,dx-sx,dy-sy,dz-sz, radius#)) |
| ||
Yes, of course, that's what i say ;) => referring to your other topic ! |