Submit your question

having problems with MASH and the "MoveRight" & "MoveLeft" animations.

Question:

I am having problems with MASH and the "MoveRight" & "MoveLeft" animations. My problem is that when I move the character in mash, and the program scripts the movement the "MoveLeft" and/or "MoveRight" animations don't play -or sometimes play - when it does play the "MoveRight" or "MoveLeft" animation, the last frame will not hold during the move. I've set up the animation so that the last frame is the "move" frame, with no extra frames or branching to it. In fact I've tried setting up the animation several ways and simply can't get MASH to play the animation and move the character on the last frame, like it should. Please note: The animations "MoveRight" and "MoveLeft" are 7 frames long They are all set to 1 frame per frame Both animations end with the "moving" pose there is no branching set up for any of the frames.

Answer:

_Add a blank, zero length frame to the end AFTER the image you wish to move your character on in the animation. Also handy to have the return animation checked when you assemble the character.
_I can't speak for Mash, but here is some information with regard to how Agent handles moving animations. First, moving animations are generally not played directly, but are more typically played by assigning the animations to the Moving states which are played when the app or script calls the MoveTo method. When Agent is passed a MoveTo request, it plays the initial part of the animation to the end, then moves the character to the specified location. It stops there and then plays that moving animation's Return animation.The Return animation can either be a separate animation or you can define Exit Branching for the moving animation with a null frame at the end.
_This Agent uses the same frames for its return animation. Animation: Move Return Animation: Use Exit Branching Assign to State: For this Agent I use one animation for all of the Moving States Frame 1: Duration: 10 Normal Branching: none Exit Branching: Frame 8 Frame 2: Duration: 3 Normal Branching: none Exit Branching: Frame 1 Frame 3: Duration: 1 Normal Branching: none Exit Branching: Frame 2 Frame 4: Duration: 1 Normal Branching: none Exit Branching: Frame 3 Frame 5: Duration: 1 Normal Branching: none Exit Branching: Frame 4 Frame 6: Duration: 1 Normal Branching: none Exit Branching: Frame 5 Frame 7: Duration: 1 Normal Branching: none Exit Branching: Frame 6 This frame doesn't have an image: Frame 8: Duration: 0 Normal Branching: none Exit Branching: none This one uses separate frames for its return animation. Animation Name: MoveLeft Return Animation: Use Exit Branching Assign to State: MovingLeft This is the moving animation: Frame 1: Duration: 10 Normal Branching: none Exit Branching: none Frame 2: Duration: 1 Normal Branching: none Exit Branching: none Frame 3: Duration: 1 Normal Branching: none Exit Branching: none This is the moving frame: Frame 4: Duration: 1 Normal Branching: 100% to Frame 15 Exit Branching: Frame 5 This is the return animation: Frame 5: Duration: 10 Normal Branching: none Exit Branching: Frame 6 Frame 6: Duration: 10 Normal Branching: none Exit Branching: Frame 7 Frame 7: Duration: 2 Normal Branching: none Exit Branching: Frame 8 Frame 8: Duration: 2 Normal Branching: none Exit Branching: Frame 9 Frame 9: Duration: 2 Normal Branching: none Exit Branching: Frame 10 Frame 10: Duration: 4 Normal Branching: none Exit Branching: Frame 11 Frame 11: Duration: 10 Normal Branching: none Exit Branching: Frame 12 Frame 12: Duration: 10 Normal Branching: none Exit Branching: Frame 13 Frame 13: Duration: 10 Normal Branching: none Exit Branching: Frame 14 Frame 14: Duration: 10 Normal Branching: none Exit Branching: Frame 15 This frame doesn't have an image: Frame 15: Duration: 0 Normal Branching: none Exit Branching: none

Submit Your Comments and Answers


Submit your comment or answer


Privacy Policy