LSL Wiki Mirror 10-5-2006: llGetAccel

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
vector llGetAccel()

Returns the current acceleration (in m/s²) exhibited by an object.

Example: If you create a cube, check its physics checkbox, and drop it from a height, it will initially return <0,0,-9.8> (the value for gravity in SL) while falling. This value will decrease, because some funky wind resistance seems to be at work to allow falling objects to achieve terminal velocity.

Compare with: llGetVel


Functions | Dynamics
There are 3 comments on this page. [Display comments/form]