Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetPrimitiveParams unsits Avatars

Lynn Kukulcan
Registered User
Join date: 7 May 2006
Posts: 149
07-05-2006 20:02
I can't help but notice that my lovely Shuttles with opening and closing doors that use llSetPrimitiveParams to do so love to unsit the passengers, which is really nice because just after it does this, it leaves, and all passengers are affectively jettisoned from the Shuttle.

What can I do to get around this without having to do all kinds of weird stuff that just won't look right?
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-05-2006 21:41
use llSetPos & llSetLocalRot
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Llew Albion
Registered User
Join date: 20 Dec 2005
Posts: 4
07-13-2006 00:19
From: Strife Onizuka
use llSetPos & llSetLocalRot


Does this mean I cannot use llSetPrimitiveParams on a vehicle without unseating the passengers?

Reasong I'm asking: I'm building a hovercar that has a sphere as the canopy which opens/closes by setting its cut via a contained script using llSetPrimitiveParams.

Obviously the only way I can substitute this behaviour using llSetPos and llSetLocalRot is by making two half-spheres and having one of them rotate.

Due to the rather low prim limit on physical vehicles I'd obviously like to avoid that, so:

Can anyone ultimately confirm that using llSetPrimitiveParams on a vehicle (or any linked object for that matter) will unsit all sitting avatars and that this is intended behaviour or a known bug that is not going to be fixed any time soon?
Hamncheese Omlet
what's for breakfast?
Join date: 2 Apr 2006
Posts: 79
07-13-2006 11:54
From: Lynn Kukulcan
Does this mean I cannot use llSetPrimitiveParams on a vehicle without unseating the passengers?



I've noticed that using llSetPrimitiveParams to change the hollow parameter has all kinds of unannounced nuances. For example, try locking your linked object and have a script that changes hollow (such as a door in a linked building) and the object will no longer be locked.

I don't know if this is by design so sorry I can't help you, but I would report it as a bug.

--Ham
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
07-13-2006 13:24
Using llSetPrimitiveParams with the PRIM_SHAPE parameter makes the vehicle think that one of its prims has changed-- this means that you can't set the hollow or related settings without unseating whoever is sitting down. However, PRIM_SIZE, PRIM_POSITION, and PRIM_ROTATION do not cause unseating, and are usually sufficient for doors.
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
07-13-2006 16:53
From: Keknehv Psaltery
Using llSetPrimitiveParams with the PRIM_SHAPE parameter makes the vehicle think that one of its prims has changed...


It's a defect in LSL, which is in the Linden's defect list to repair.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-13-2006 17:10
The reason for this *feature* is back in 1.3 when they introduced llSetPrimitiveParams, it had this uncanny ability to corrupt the bounding box & mass. As many of the "solutions" of this period in SL history, the solution was to ax the feature. Unsitting the av ensures the sim won't crash.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey