Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sitting and prim changes

Kafka Potato
Registered User
Join date: 23 Mar 2006
Posts: 17
04-29-2006 05:44
I was wondering if anyone knows if this is default behavior.

I am creating a vehicle with a movable hatch. The hatch opens and closes by changing the cut of the prim. It seems once I have sat on the vehicle, any change to that prim causes me to stand. Is this expected behavior? it seems to bump me off, regardless of the type of change to the prim (ie size, rotation, cut).

Any suggestion on how I can remain seated? Anyone know if I have correctly identified the problem?

Any thoughts would be appreciated, thanks
phoenix Behemoth
Registered User
Join date: 7 Oct 2004
Posts: 14
cause of prob
04-30-2006 16:39
the cause of your problem is that any prim paramiter function will kick you off object if sat have you tryed cutting prim in half and scaling it it will do the same but will not kick you off but remember to run physics check ie
CODE

integer physics = llGetStatus(STATUS_PHYSICS);
llSetStatus(STATUS_PHYSICS,FALSE);
llSetScale(<1,1,1>)// change this
llSetStatus(STATUS_PHYSICS,physics);

hope this helps