playMaker

Author Topic: (SOLVED)NoExit demo, using the animation blend time (on Doors)  (Read 2525 times)

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Hi,

I pretty much want to use the same functionality as with the self opening doors in the NoExit Demo

What I liked about this is that it doesnt have any actual animation attattched to the doors, just 2 animation clips, with the doors in their starting an ending positions. Then animation is achived by blending.
This is nice cos you can adjust the speed of the door afterwards.

However I cant get it to work! Is there some hierachy that is important (I m nearly the same as the demo, the only difference is the animation is reverse, the door is open as you approach, and then it SLAMS in your face as you get there..)
Is there something about WHICH animation is currently loaded, in the default animation slot of the componant?
I have done one state first to check if the door should be open or closed (a global var, cos its a persistant door, once its slammed, it needs to stay slammed. SO fist state is checking the state of that bool and running the appropriate animation (shut or open) THEN (if the door is open) the trigger area (same as in NoExit) will run the closed animation.

It works, but with no BLEND! so it just slams.. I want it to close slowly, and time it so its JUST impossible to get thru...


Mark

« Last Edit: August 26, 2013, 02:17:47 PM by markfrancombe »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4148
  • Official Playmaker Support
    • LinkedIn
Re: NoExit demo, using the animation blend time (on Doors)
« Reply #1 on: August 26, 2013, 11:48:43 AM »
I remember running into this before, and I seem to remember it happening if the open/closed animations are too short, or not set to loop... Play with the wrap mode to see if that helps...

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Re: NoExit demo, using the animation blend time (on Doors)
« Reply #2 on: August 26, 2013, 02:17:25 PM »
It was the wrap mode that did it... thx Alex!