Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
|
07-09-2008 06:09
Last night I wrote a script that would adjust a sitting avatar's position while they are sitting. It still has some positioning problems, but I will fix those in short order.
My question though is this: Which keys do you think I should respond to when making the adjustment?
These are my options:
Arrow keys: up, down, left, right Page up, Page down Shift left, Shift right
I am currently using Page up and down for vertical adjustment, left and right for left and right adjustment, and the up and down arrows for back and forth.
Does this seem reasonable? Is there maybe an accepted convention? This is a little different from walking and flying as then the left and right keys are used for rotating left and right, and the shift left and shift right keys are used for moving left and right.
I don't know if it would be worth the trouble to add rotations at all?
Of course these moves are relative to the prim, not the avatar, since I have no way of knowing through code which way the animator has the avatar looking/sitting/standing.
This was more an exercise in education than for commercial use, but it would be nice to have it in my toolbox.
I would love to hear your ideas, comments, etc.
|
Raymond Nightfire
Known reverse engineer
Join date: 5 Nov 2007
Posts: 51
|
Useful tip
07-09-2008 09:19
Use different keys other than just the arrow keys, using shift+arrow works fine. The reason way is that people like to do simeple camming with out Alt+clicking just the arrow keys to see objects and people near by. I myself do this alot, so a chair that uses just the arrow keys for adjustments will be very buggy and drive me nuts. Also be careful about animation priorities, the wrong setting will conflict with AOs. 
|
Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
|
07-09-2008 12:16
From: Raymond Nightfire Use different keys other than just the arrow keys, using shift+arrow works fine. The reason way is that people like to do simeple camming with out Alt+clicking just the arrow keys to see objects and people near by. QUOTE] Actually, I was thinking of having them be able to turn on positioning mode, adjust the avi position, and then turn it off. Then the positioning would not conflict with what they normally do. I also would hate not being able to cam around. Do you think that would be acceptable? From: Raymond Nightfire Also be careful about animation priorities, the wrong setting will conflict with AOs.  Well, I do this all the time (making poses is my primary business,) so I know all about this. But the script will be generic and won't care what animation is there, it will take whatever animation it is given, good or bad and move the avi. Thanks for the response, it really is helpful to hear other points of view.
|
Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
|
07-09-2008 13:44
From: Raymond Nightfire Use different keys other than just the arrow keys, using shift+arrow works fine. The reason way is that people like to do simeple camming with out Alt+clicking just the arrow keys to see objects and people near by. I myself do this alot, so a chair that uses just the arrow keys for adjustments will be very buggy and drive me nuts. Also be careful about animation priorities, the wrong setting will conflict with AOs.  I think what I might do is make it so that you can go into and out of positioning mode. I would also hate not being able to arrow around with my keyboard the way I normally do. I plan to make this script generic, so the quality of the animation doesn't matter so much to the script. But since my primary SL business is making poses, I am very familiar with setting animation priorities and moving all joints to stop SL or your AO from doing it. I learned those lessons the hard way early on. Any more suggestions or comments out there?
|