Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on March 09, 2013, 12:29:43 PM

Title: [solved]animation blending in tutorial door
Post by: blackant on March 09, 2013, 12:29:43 PM
hi,

i just started to work with playmaker, following the tutorial,
it's working but i need some help to understand something with animation

i setup the door like in the video, it works nice.

i made my own door, animation don't follow correctly, i explain:

state 1--> closed, put the anim closed (the one in loop, always closed)
trigger enter--> play animation open (the one in loop, always open)
state 2 --> same as above
trigger exit --> play animation closed (the one in loop, always closed)

it spawn directly the final state of the animation, not blending door

why ???
Title: Re: animation blending in tutorial door
Post by: blackant on March 10, 2013, 04:50:41 AM
maybe a little video of the problem could clarify what i mean:

Title: Re: animation blending in tutorial door
Post by: Vallar on March 10, 2013, 03:58:49 PM
Hello,

I have to say, the setup as I can see it with Playmaker is the same... I can't say that there is something wrong with your FSM from what I can see. My only guess is that maybe the animation you have for the second model doesn't have enough keyframes for the full animation.

Unless you are using the same exact object, the same exact animation files; in that case what I would suggest is maybe in the "Play Animation" action choose the "Finish Event" as the event that leads to the other state (I believe in the video you had them as TRIGGER ENTER and TRIGGER EXIT) maybe that might help.

Title: Re: animation blending in tutorial door
Post by: blackant on March 11, 2013, 06:25:32 AM
thanks for answer, that was not the right solution but it give me the way.
setting the finish event set the animation directly to the next step, so the door close/open/close continusly... ;D

the solution is to set correctly the animation wrap mode to loop and clamp for ever.
it was stay on default and that was the problem.