PickedTime command

Blitz3D Forums/Blitz3D Programming/PickedTime command

WolRon(Posted 2004) [#1]
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?


WolRon(Posted 2004) [#2]
Come ON! it's been 5 minutes already. Somebody answer!!!!!





:)


Stevie G(Posted 2004) [#3]
Makes sense that it returns the time in millisecs it took to process the last pick command.


WolRon(Posted 2004) [#4]
It's obviously not milliseconds because the returned values are floating point numbers between 0 and 1.


martonic(Posted 2004) [#5]
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.


WolRon(Posted 2004) [#6]
Thank you. Now to see if it can actually be of any use.