A note about linepick with a radius
Blitz3D Forums/Blitz3D Programming/A note about linepick with a radius
| ||
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... |
| ||
interesting piece of knowledge indeed, thanks. |
| ||
In that case the line should look like an elongated capsule, with round extremities.![]() |
| ||
I definitely learn best with images that translating from google. |
| ||
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. |
| ||
There was some witchcraft here, i can't see my first post... ?! |
| ||
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. |
| ||
I think it looks like this :![]() |
| ||
Here is a small example where you can test how LinePick (with and without Radius) and how EntityPick works. ![]() |