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

LSL Wiki : llSetHoverHeight

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl836.us.archive.org
llSetHoverHeight(float height, integer water, float tau);

Damps a physical object to height over tau seconds. The height is above ground if water is FALSE, otherwise above ground and water; has no effect on a non-physical object. Setting height to zero disables the effects of this function.

Do not use with vehicles.
Q: Could you please explain? It's used in some Linden vehicles and is included in their original vehicle tutorial.
A: It is? I thought llSetVehicleFloatParam(VEHICLE_HOVER_HEIGHT, float) "deprecated" llSetHoverHeight for vehicles... where is this tutorial located? -Chris

Q: Does this have the same distance constraints as llMoveToTarget, which also critically damps an object to a location? --JarhynWilde
A: I beleive the max height on this is either 64m or 100m -- BW
A2: In tests it looked like there is a maximum difference (apparently 64m) with the current height the function will react to. (Additionally: if you give it a larger difference, a possible current damping movement stops immediately). --IoneLameth

To actually find out how high the ground is at a given location, use llGround.

Compare with llGroundRepel


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions
Comments [Hide comments/form]
Yes, fixed.
-- EzharFairlight (2004-10-28 09:05:22)
Um, why did you put "damping" back where "tau" should be, BW? Sheesh.
-- EepQuirk (2005-09-27 03:53:42)
Actually, looking over the page revision history nothing was put 'back' Eep. This page has never had anything but 'tau' listed for that argument field previous to that edit, likely because the entry page for tau is far less detailed than the page for damping is. Debatable as to if damping or tau is more generally understandable (one is very patently a technical term most of the time, the other is theoretically lower-grade English but harder to search for a reference for on-line) but the page you added on tau is very much a stub compared to the page on damping, despite both referring to the same basic concept in relation to LSL.

Thoughts and/or arguments on if 'tau' or 'damping' should be the primary page reference?
-- WolfWings (2005-09-27 05:18:18)
As a first argument point, 'tau' is too short of a word to search for using the on-site search engine, while 'damp' and 'damping' are both long enough. In the interest of allowing text-searches for terms across the wiki 'damp' might be a better choice than tau.
-- WolfWings (2005-09-27 05:19:56)
didnt there used to be a llSetGlobalHoverHeight or something?
-- c-71-225-28-21.hsd1.pa.comcast.net (2007-05-05 06:36:21)
Attach a comment to this page: