playMaker

Author Topic: [solved]animation blending in tutorial door  (Read 2727 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
[solved]animation blending in tutorial door
« 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 ???
« Last Edit: March 11, 2013, 06:25:50 AM by blackant »

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: animation blending in tutorial door
« Reply #1 on: March 10, 2013, 04:50:41 AM »
maybe a little video of the problem could clarify what i mean:


Vallar

  • Junior Playmaker
  • **
  • Posts: 90
Re: animation blending in tutorial door
« Reply #2 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.


blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: animation blending in tutorial door
« Reply #3 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.