The following is the essential part of the code and demonstrates the problem. If I set the hover height up by +2 metres they do not sink, but then in another part of the script they slowly rise to 2 metres above the ground.
Anybody any ideas please, have tried telling the Lindens through a ticket and I do not think they believe me.
key av;
float hover;
vector pos;
default
{
state_entry()
{
vector size = llGetAgentSize(llGetOwner())/2;
llSitTarget(<0, 0, size.z>, ZERO_ROTATION);
llSetStatus(STATUS_PHYSICS,FALSE);
}
on_rez(integer start_param)
{
llResetScript();
}
changed(integer change)
{
if(change & CHANGED_LINK)
{
av = llGetOwner();
if (llAvatarOnSitTarget() != NULL_KEY)
{
llRequestPermissions(av, PERMISSION_TRIGGER_ANIMATION);
}
}
}
run_time_permissions(integer perm)
{
llStopAnimation("sit_generic"
; llStopAnimation("sit"
;llSetBuoyancy(1.0);
llSetStatus(STATUS_PHYSICS,TRUE);
pos = llGetPos();
hover = pos.z - llGround(<0,0,0>
;llSetHoverHeight(hover, FALSE, 10);
llStartAnimation("boogie"
;llSetTimerEvent(15);
}
timer(){
llSetStatus(STATUS_PHYSICS,FALSE);
llSetPos(pos);
}
}
Thanking you in anticipation of a revealing insight
Jay