Don't click here unless you want to be banned.

LSL Wiki : llGetAccel

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawling22.us.archive.org
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
Comments [Hide comments/form]
Not sure what's going on really. Did some experiments in ballistics (http:forums.secondlife.com/showthread.php?t=55401&highlight=ballistics) which agreed very well with constant downward acceleration, but I didn't actually measure the acceleration directly.
-- SeifertSurface (2005-08-06 03:50:45)
Italics correction, the link Seifert was referring to is:
http://forums.secondlife.com/showthread.php?t=55401&highlight=ballistics
-- ChristopherOmega (2005-08-10 12:12:59)
Thanks Christopher!
-- SeifertSurface (2005-08-11 03:50:28)
Attach a comment to this page: