|
Jin Takakura
Registered User
Join date: 27 Apr 2006
Posts: 11
|
05-24-2006 17:54
There's this desk with a chair, and on the desktop is lamp. When I sit, I sit on the lamp. o.O
I would like to sit on the chair and be facing the desk. Would adding a script even help this? Or is this more of a building complication. If it's a yes for a script, could I get suggestions on how I'd go about this?
<---perplexed!
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
05-24-2006 18:24
a basic llSitTarget in the intended seat would do the trick, the hard part is fooling around with the vector and rotation, to get your sit position correct, once thats done you can remove the script and it will continue to do its job http://secondlife.com/badgeo/wakka.php?wakka=llSitTarget
|
|
Jin Takakura
Registered User
Join date: 27 Apr 2006
Posts: 11
|
05-24-2006 19:06
^ahhh ok. I tried that earlier but gave up...maybe a little too premature, lol. Yea the tinkering with the vector and rotation is a pain! I will give it another though again though. Thanks.
|
|
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
|
05-24-2006 20:38
You can 'cheat' figuring out the rotations with this method: Rez a small sphere, and put your 'sit script' inside of that (no modifications neccesary). Sit on the sphere, and rotate & adjust it around while you're sitting on it until you're in the position you want. Stand up, make the sphere transparent, then link it up with your main object as the parent prim. Now when you sit on the object, you'll sit on the ball perfectly positioned 
_____________________
------------------ The ShelterThe Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world.
|
|
Phil Moore
Sweet Piece
Join date: 30 Apr 2006
Posts: 32
|
Thanks Jin
05-26-2006 10:41
I know you were taking care of this for me - and you did a great job. I couldn't even come close to putting my butt on the seat with the SitTarget script I found. When you gave me back the desk, I was positioned correctly and looked like I was sitting at my desk. Mission accomplished - my hero Jin!
One question for those who may know . . .
Would you expect the rotation and vector to be constant relative to the desk - even after it has been moved, copied, replaced, etc? The coordinates seem to get weird again when I move it, or take the desk, and then replace it.
I guess I should try dragging the script on and then deleting it again? Or maybe just go with the hidden pose ball technique mentioned above?
All advice is appreciated and many thanks to Mr. Takakura!
|