Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Controlling the "Stand Up" action

Jerod Bagley
Registered User
Join date: 25 Nov 2007
Posts: 2
03-02-2008 15:12
When I add a sit target to an object I would also like to be able to control what happens when the "Stand Up" command is triggered. When avatars stand up, they sometimes do so in a normal sort of motion, standing in front of the object upon which they were standing, but in other cases they seem to stand right on top of the sit target or end up hanging in the air with their legs scrambling for footing. I have not been able to find information about how the "Stand Up' action is controlled. Can someone give me some pointers?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-02-2008 16:16
the usual trick is build sit animations that are 'behind' their starting position, and then push the sit target forward. the reasoning is that the av will get up at the sit target, if that's in the object you can get varying effects, like the av standing on the object, being shoved in one direction or another (becuase of interpentration of the av with a solid) or getting stuck (the falling anim)...

H4 has a new twist in that it currently pushes avs in the positive X direction of the object when they get up, there's a jira on it.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Atashi Toshihiko
Frequently Befuddled
Join date: 7 Dec 2006
Posts: 1,423
03-02-2008 18:35
From: Void Singer
H4 has a new twist in that it currently pushes avs in the positive X direction of the object when they get up, there's a jira on it.


Is this twist only in H4? I've started to notice it on the island where I do most of my work, and I'm 99% certain that island is not on the H4 early adopter program. It's just been in the last couple days, maybe since the last rolling restarts.

-Atashi
_____________________
Visit Atashi's Art and Oddities Store and the Waikiti Motor Works at beautiful Waikiti.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-02-2008 19:25
I haven't been building anything with seats recently, so haven't noticed... my understanding was it's only H4 sims, but with LL who knows
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Lost Oddfellow
Registered User
Join date: 15 Sep 2005
Posts: 33
03-02-2008 19:45
I have been trying to deal with a similar problem where upon standing up from any piece of furniture in my home an avatar will be propelled through the roof of a room.
it doesn't matter weather there is room in the room for the AV they just go through the roof the moment they stand up.
If there is an easy way around this beyond removing the roof or making it phantom, I would be very grateful to hear it.
_____________________
I've made my statement and I stand by it,
but I could be wrong.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-02-2008 23:05
if you have access to the scripts in the furniture you can make it go phantom for a few secs or use different tweaked anims... if not, your only other option would bbe to make the whole thing phantom, it'll still work for sitting, but if you don't sit you'll be able to walk through it... the perils of premade furniture....

it's not always the makers fault, different sized avs can end up with different reations sometimes.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-03-2008 01:28
If you provide some kind of programmatic unsit (like if they touch the furniture to unsit themselves), you could use llSetLinkPrimitiveParams() to put them in a convenient location (and animation...) before the unsit. Probably not an applicable solution, but I thought I'd mention it in case you can make it work somehow.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
03-03-2008 12:51
On an added note, with the latest H4 refresh, LL rolled back that unsit change, or so they say. I'm not 100% convinced it's back how it originally was, but it's not as bad. And yes, that was only on H4. If you are seeing some push from your sitting device in H1, it's probably a case of the rocketing Avatars they were trying to fix in the first place :)
_____________________
Esmee Isbell
Registered User
Join date: 21 Jun 2006
Posts: 9
jira link addresses this ... please take a look
03-04-2008 10:08
Please review this related jira issue regarding the need for implementing a new function: llUnsitTarget(); and VOTE if meaningful to you. Thanks :)
http://jira.secondlife.com/browse/SVC-886