|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
12-08-2007 00:59
Sometimes an llUnSit will have the avatar stand on the chair. Sometimes the avatar will move forward a little. In my case the avatar moves back about 1/2m and then left about 2m.
WHAT are the criteria for avatar motion as a result of an llUnSit?
In my case it is imperative that the avatar stands right on the same spot they were sitting. How do I suppress this subsequent built in animation and what governs the time, type distance etc.?
I've tried all sorts of time delays, and getting permission to do a stop-animation "sit", but none seem to work.
Is it an attempt by the avatar to reach ground level? In my case the sit location (and desired stand location) is about 2.5m above ground on an object.
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
12-08-2007 01:18
One thing to watch for is causing the Avatar to intersect another object when it stands up. You then get the two-objects-cannot-occupy-the-same-space kind of phenomena. Something has to give, and it will be the Avatar that is pushed out of the way. To test this try setting up your animation in a plain pose-ball, in a clear space. If the problem goes away then this is your answer. Also be aware that llUnSit can be sensitive to lag. I suspect we've all been thrown across the room when standing up! 
|
|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
12-08-2007 08:22
Thanks a bunch. You nailed it. I had an invisible guard to stop the avatar falling off and that was causing the problem rather than solving it.
|