Inconsistent Behavior of llGroundRepel() Across Region Crossings Compared to llSetHoverHeight()
complete
Otoa Kiyori
Description:
I've encountered an issue where llGroundRepel() applied to an avatar loses its effect upon crossing regions, unlike llSetHoverHeight(), which maintains its hover effect consistently. This behavior isn't documented in the LSL wiki.
Expected Behavior:
llGroundRepel() should consistently maintain the avatar's hover height above ground and water, even after crossing regions, similar to llSetHoverHeight().
Actual Behavior:
When using llGroundRepel(), the avatar's hover effect diminishes after a region crossing, whereas llSetHoverHeight() maintains the hover effect without issue.
Following is a sample test HUD script to recreate this behavior.
---
integer on;
default
{
touch_start(integer n)
{
on = !on;
if(on)
llGroundRepel(2, TRUE, 1);
// llSetHoverHeight(2, TRUE, 1);
else
llGroundRepel(0, TRUE, 1);
// llStopHover()
}
}
---
Here is a short video to show the difference.
Log In
This post was marked as
complete
Otoa Kiyori
Thank you for looking into, and fixing what I reported! I see an updated LSL wiki page that states all the cabiats now!
Zack Ormidale
I just noticed that this function is breaking. I have a HUD that moves forward and floats, but now the avatar just falls over. Glad there is a call for this bug. Here is another story. I hope it gets resolved for everyone. (translator)
Signal Linden
tracked