Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Leaving the Avatar at the last frame

Strollerweb Market
Registered User
Join date: 20 Nov 2006
Posts: 21
01-05-2007 02:39
I have an animation that moves the avatar about 6 meters forward, that bit works great problem is when the animation is finished the Avatar is returned to start position. Is there a way of leaving the Avatar at the final position of the animation?

I can’t think of good way to describe this, so if it is all ready covered in the forum please past the link, cheers
Johan Durant
Registered User
Join date: 7 Aug 2006
Posts: 1,657
01-05-2007 07:08
It's easy to have an animation stay on the last frame after playing through, but that isn't what you want. When you move the avatar around in animation, it appears to move but it's actual location as far as SL in concerned does not change. To actually move the avatar while the animation plays, you will need to use a script to move it. Depending on what exactly you are doing, you may need to have the character sit on a poseball and put the script in the ball, moving the ball around while the animation plays.

In short, what exactly are you doing?
_____________________
(Aelin 184,194,22)

The Motion Merchant - an animation store specializing in two-person interactions
Strollerweb Market
Registered User
Join date: 20 Nov 2006
Posts: 21
01-05-2007 07:47
Thanks for the reply and confirmation of what is happeing. What i'm doing is having the Avatar run jump do a backloop and land. I was hoping to trigger this with an F key (if they ever fix gestures!) but I can do it with script in a Prim attached to Avatar instaed, just takes a bit more work.
Martin McConnell
Registered User
Join date: 8 Sep 2006
Posts: 116
01-05-2007 10:25
This is probably not the answer you need but I'm going to throw it out there anyway because I just learned it recently and I'm happy.

To get a Pose or an Animation to stop at the last frame and not repeat, during the upload process you set the Priority to 4 and then right below there are a couple of boxes for percentages.

If you type 100.0 into each of those text boxes the upload process will see that you want to loop your animation from the 100% mark (the last frame) to the 100% mark (the last frame).

Example: You want to walk to a chair and sit down. You make an animation/pose of the avatar walking a little then neatly sitting down. You upload that animation using 100.0 and 100.0. You put the animation into a poseball then when the avatar clicks on the pose ball it walks to the pose ball and sits down.. and doesn't get up again.

Example 2: You want to get frisky with your lover. You create an animation where you get down on the ground into the proper position and then ... move your body around. Stick that pose into a poseball, set the percentages to about 35.0 or 40.9 to 100.00 and when your character clicks on the pose ball he goes to the ground then the animation plays the 40%-100% of the animation over and over. You'll have to guess the percentage starting point of the animation, but if you preview it on the upload screen it is pretty easy to see.

Hope that helps.
_____________________
Martin McConnell
Still an SL Virgin
Quote: "I'm saving myself"
Issues Ambassador
Ambassador of Issues.....
Join date: 6 Apr 2005
Posts: 90
01-07-2007 01:07
Either you add frames and have the avie go back to start after the anim plays or have it as a static anim and physically move the avatar. Anything to move and keep the avie forward would probably be doable with a script. But... I'm not 100% sure on that as I'm not an expert scripter.
Strollerweb Market
Registered User
Join date: 20 Nov 2006
Posts: 21
01-07-2007 04:49
the 100% setting works ish! if you do this as an Animation only it does indeed stop on the last frame until you stop Playing The Animation, at which point it goes back to the beginning.

The Chair sit in a pose ball, the animation goes in a straight line so depending which way you are facing depends on the end result. As mine is a run-jump-backloop-stand this is not a huge issue. Having said that I'm still working on this, as once again when you finish the anim 'Stand Up' it puts you back where you came from! so looking to script in a new finish postion.

I'm going to look at wearing a prim that moves you while playing the animation, just need to take the movement part out of the Animation (running on the spot!)

A side step on this thread, can ou change the feedin / feedout after you have uploaded or do you always have to upload again?
Issues Ambassador
Ambassador of Issues.....
Join date: 6 Apr 2005
Posts: 90
01-14-2007 19:49
From: Strollerweb Market
the 100% setting works ish! if you do this as an Animation only it does indeed stop on the last frame until you stop Playing The Animation, at which point it goes back to the beginning.

The Chair sit in a pose ball, the animation goes in a straight line so depending which way you are facing depends on the end result. As mine is a run-jump-backloop-stand this is not a huge issue. Having said that I'm still working on this, as once again when you finish the anim 'Stand Up' it puts you back where you came from! so looking to script in a new finish postion.

I'm going to look at wearing a prim that moves you while playing the animation, just need to take the movement part out of the Animation (running on the spot!)

A side step on this thread, can ou change the feedin / feedout after you have uploaded or do you always have to upload again?


Poseballs, yes. But poseballs don't move. ;)

You will need an attachment. That sounds like a modified vehicle script that you're looking for. You'll have the anim play the jump while it moves. (Unless you're looking to actually jump, which to my understanding is still a part of a/the modded vehicle script that needs to be added in.) It will play the animation as you move physically.

If you are looking to change how the fade works, you will have to reupload. To my understanding the fade in/out at upload is a constant, just like setting the hands at upload. (Unless I'm wrong and someone can tell me how to do it as well. :D)