A note about linepick with a radius

Blitz3D Forums/Blitz3D Programming/A note about linepick with a radius

RemiD(Posted 2015) [#1]
If you use linepick with a radius, the total length of the line seems to be vectorlength + radius.

I fixed a bug by taking this into account.

Maybe this will help somebody...


Rick Nasher(Posted 2015) [#2]
interesting piece of knowledge indeed, thanks.


Kryzon(Posted 2015) [#3]
In that case the line should look like an elongated capsule, with round extremities.




Yue(Posted 2015) [#4]
I definitely learn best with images that translating from google.


Floyd(Posted 2015) [#5]
If you use linepick with a radius, the total length of the line seems to be vectorlength + radius.

Coming from a mathematical background that is exactly what I assumed. There is a vector of the given length and a sphere centered at the head of the vector.


RemiD(Posted 2015) [#6]
There was some witchcraft here, i can't see my first post... ?!


Floyd(Posted 2015) [#7]
That's probably my fault. I am able delete or hide posts. The hide link is on the right edge of the screen and is easy to hit by accident on a tablet.

It's back now.


RemiD(Posted 2015) [#8]
I think it looks like this :



RGR(Posted 2015) [#9]
Here is a small example where you can test how LinePick (with and without Radius) and how EntityPick works.