|
Butch Adzebills
Bold, yet beautiful
Join date: 21 Oct 2006
Posts: 269
|
06-03-2007 21:09
I've finally found the right sit script & animations for my chairs. Everything works fine until the av stands up - the av either jumps onto the furniture or is flung a few metres across the room (sometimes off the side of the building).
Is there anyway of making the av actually stand up in front of / beside the chair or at a fixed location when "stand" is selected?
|
|
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
|
06-04-2007 01:41
I've run into the same problem with pool stairs. llUnsit() seems to have random behaviour. Sometimes it'll neatly keep me standing at the desired position, sometimes it'll leave me floating, and sometimes let's me fly across the room... All without any change to the script.
I'd say it's an SL bug that we have to live with...
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
06-04-2007 01:48
I'd love to know more, too, but for what it's worth: I've found that if the avatar's standing position and rotation, as set by the llSitTarget(), collides with a (non-phantom) object, then when it unsits, all bets are off as to where it will end up. Sometimes under such circumstances you'll hear a little "klunk" when the avatar sits into the position--sometimes not. Sometimes it seems to help to give the avatar a little llPush() when it leaves the sitting position--but sometimes I can't find a direction to push that helps.
|
|
Domino Marama
Domino Designs
Join date: 22 Sep 2006
Posts: 1,126
|
06-04-2007 06:54
This is to do with the pose as much as anything. When the avatar stands, their position is still the sit target. However without the sit pose, this generally means that the avatar ends up inside the chair, leading to odd effects like getting stuck in furniture, the physics engine kicking them across the room etc. The proper solution is to have the seated position set back a bit from the T Pose when the animation / pose is created. This way the sit target is in front of the chair and on standing the avatar ends up stood there rather than in the chair and causing the collision problems described.
|
|
Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
|
06-04-2007 08:45
That sounds like a good suggestion Domino. But because English is not my native language I'm not sure if I understand you correctly. What I understand is:
- When making the sit animation (in Poser e.g.) I must not place the avatar on the default X-Y-Z co-ordinates, but a little bit off. Is that moving the av backward (from its point of view)? - When doing that, what is the influence then of changing the sit target in the script of the poseball?
|