Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Controling where it's held

Orcus Hax
Registered User
Join date: 14 Jul 2007
Posts: 8
07-23-2007 07:04
I want to write a script that will change the position of where an item is attached (i.e. where it's being held as opposed to the place it's attached to).

For example I want my av to have a staff (read wand), that is held like a quterstaff (in the center), when carred but when being used it's held the end.

So any pointers as to how I could write this would be greatfully recived.
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
07-23-2007 07:26
I believe this would have to use custom animations to adjust the part of the AV that the staff is actually attached to, to move it in the orientation you want.
Kidd Krasner
Registered User
Join date: 1 Jan 2007
Posts: 1,938
07-23-2007 09:12
The way I've seen this done is to have two linked prims, one for each position, and the script just controls which one is visible at any given time. This allows users who are experienced at editing such things to position them independently, something that they can't do with an animation.