Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A nudge off a poseball ... can't do it

Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
08-12-2009 08:15
I'm obviously missing something, but I can't seem to grasp the concept of llPushObject. All I want to do is give an av a slight nudge when s/he stands up from sitting on a poseball, so that s/he doesn't end up standing on the thing. I thought I could do it by using llPushObject, but it doesn't seem to do anything, no matter how big an impulse or angular impulse I use. So what am I not understanding here? Does this look right?

llPushObject(av,< 1.0*llGetObjectMass(av),0,0>,< 1.0*llGetObjectMass(av),0,0>,TRUE);
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
08-12-2009 08:41
AVs are for a short time non-physical when getting up off an object. Are you perhaps calling that too soon?

As well, if push is turned off on the parcel, the only the landowner can use that function on people.
_____________________
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
08-12-2009 09:18
Ah... I didn't know about that delay. If it's very long, this approach obviously won't work because the awkward "standing-on-the-chair-I-just-sat-on" moment is usually only a couple of seconds long. I'm trying to make that a gentler experience.

Push IS turned off in this sim, though, so that's clearly the real reason my script is failing. I forgot about that. D'uh. :o

Anyone have a different solution to suggest, now that pushing is out of the question?
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
08-12-2009 09:19
llPushObject has been nerfed to the point of uselessness out of fear that it would be abused for griefing, long after much more powerful physical cage attacks had replaced it in the griefer's arsenal.

Solutions:

(1) Have the animation offset from the sit target, and have the sit target offset off the chair.

(2) Have the chair turn phantom for a moment after the avatar stands.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
08-12-2009 09:59
Thanks, Argent. I like it. :)
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
08-12-2009 10:40
If you give the sitter another way to stand up (like by touching the object while sitting) you can use llSetLinkPrimitiveParams() to move the avatar before unseating it. But that's kind of a hack, obviously.
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
08-12-2009 10:47
A good hack, but I'm trying to teach newbies without giving them TMI or information that won't work anywhere else.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Malia Writer
Unemployed in paradise
Join date: 20 Aug 2007
Posts: 2,026
08-12-2009 11:13
From: Argent Stonecutter
(1) Have the animation offset from the sit target, and have the sit target offset off the chair.
As a "furniture user", this is the option I have found feels the smoothest, although it seems to be used very rarely.
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
08-12-2009 11:32
From: Malia Writer
As a "furniture user", this is the option I have found feels the smoothest, although it seems to be used very rarely.

I always knew that two wrongs really do make a right!
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
08-12-2009 18:05
From: Malia Writer
As a "furniture user", this is the option I have found feels the smoothest, although it seems to be used very rarely.

Probably because the animations need to be made that way in the first place, and there are a heck of a lot more people making furniture than there are making animations.

Also animations made this way are useless for AOs.

Of course if you do animations it's quite simple to add a hip offset or even make versions with and without, I'm just saying that the folks who sell copy+transfer animations for builders mostly don't seem to have done it that way for one reason or another.
_____________________
Designer of sensual, tasteful couple's animations - for residents who take their leisure time seriously. ;)

http://slurl.com/secondlife/Brownlee/203/110/109/

Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
08-12-2009 18:30
From: Anti Antonelli
Of course if you do animations it's quite simple to add a hip offset or even make versions with and without, I'm just saying that the folks who sell copy+transfer animations for builders mostly don't seem to have done it that way for one reason or another.
You can play the hip offset animation concurrently with another animation. I've made a number of hip-offsets I use to get my smaller-than-average avatar to work correctly with frankenken-scaled sit animations.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore