PickedTime command
Blitz3D Forums/Blitz3D Programming/PickedTime command
| ||
What is the significance of the PickedTime command? How/why would one use it? The example code returns values between 0 and 1 (1 apparantly meaning no hit at all). I guess I don't understand what that's supposed to mean. It almost appears to be a measurement (of sorts) of distance? |
| ||
Come ON! it's been 5 minutes already. Somebody answer!!!!! :) |
| ||
Makes sense that it returns the time in millisecs it took to process the last pick command. |
| ||
It's obviously not milliseconds because the returned values are floating point numbers between 0 and 1. |
| ||
Do a search on "PickedTime". Apparently the docs are incorrect, and it actually returns the ratio of: distance from source to pick point / length of pick line. |
| ||
Thank you. Now to see if it can actually be of any use. |