Don't click here unless you want to be banned.
LSL Wiki :
llGetVel
HomePage
::
PageIndex
::
RecentChanges
::
RecentlyCommented
::
UserSettings
:: You are crawling22.us.archive.org
**##[[vector]] llGetVel()##** [[return Returns]] the current [[velocity]] of an [[object]] in [[meter meters]]/second, relative to the [[simulator]] [[axis axes]]. To find the velocity relative to the direction the object is pointing, try this: %%(lsl) vector global_velocity = llGetVel(); vector local_velocity = global_velocity * llGetRot(); %% **Q:** ''How would one go about calculating the actual //speed// of an object as a [[float]]?'' **A:** ''Calculate the length (or [[magnitude]]) of the velocity vector with ##[[llVecMag]](llGetVel())##.'' ---- [[functions Functions]] | [[dynamics Dynamics]] | [[physics Physics]]
Valid XHTML 1.0 Transitional
::
Valid CSS
:: Powered by
WakkaWiki 0.1.2