speedometer
Submitted by giant on Thu, 2008-07-03 17:06.
Tagged with terms:
Date Updated:
07/04/2008Version:
0.1So simple!
It tells you the speed of the selected object in [km/h] if your scene in meter unit.
You can easily modify to [mph] or [m/s].
If you would like, upgrade it and share for all of us! ;)
GiaNT
Version Requirement:
I think all of MaxHomepage URL:
http://www.dat.co.hu| Attachment | Size |
|---|---|
| speedometer.ms | 844 bytes |

Thank you for your script
Thank you for your script post! I am still trying to learn MAXScript.
I have one question: what does the 25 mean in v = (a*3.6*25) ?
a = change in distance position
3.6 = conversion of m/s to km/h
25 = ?
Thank you for your time.
this is because of the 25
this is because of the 25 frame/second
thanks for your question !!!
at least one more people use my stuff
i will upload a newer version in a few minute :)
peace, Giant
for 30 FPS change it to v =
for 30 FPS change it to
v = (a*3.6*30)
and add
lbl3.text = (v as string)
right under it to see the speed in the script rollout instead of having to look at the listener.
very handy script thanks!
There is global variable
There is global variable FrameRate so change code to
v = (a*3.6*FrameRate)
-- and all done :)