playMaker

Author Topic: Setting up Enemy Jump movement  (Read 1683 times)

zheng

  • Playmaker Newbie
  • *
  • Posts: 1
Setting up Enemy Jump movement
« on: June 12, 2016, 01:35:24 AM »
I have a enemy character which move forward by jumping and I am trying to figure out how to do it properly with playmaker + mecanim

so here is what i have

enemy spawn ->
idle -> look for player -> jump forward -> idle  (the loop movement)

enemy animation
1. idle
2. jump

for its hop animation - do i need to split up his jump movement?

as he jump he will do a half squat then jump in to air and landing again in half squat position then stand up

I also couldnt get my animation in sync with the forward moving

any suggestion?





mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Setting up Enemy Jump movement
« Reply #1 on: June 12, 2016, 03:02:40 AM »
You can use animation events to control at what part of the animation the character moves forward and when it stops
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!