playMaker

Author Topic: Create a loop moviment  (Read 787 times)

plenoal15

  • Playmaker Newbie
  • *
  • Posts: 4
Create a loop moviment
« on: January 04, 2019, 11:08:24 PM »
Hello, is possible to creates a loop moviment ? What is the actions to create ? Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Create a loop moviment
« Reply #1 on: January 04, 2019, 11:44:41 PM »
Hi, what you mean by loop movement?

an ai moving back and forth?

a character moving?

movement animation?

For ai you can tween or use 'move toward' in 2 states to move back and forth.

For character you can use 'get axis', then use the value on 'set velocity'

For animation you can get axis and use 'Set Animator Float' then in animator you can use a condition 'Greater than' to trigger the animation.
Then you can use the float in a parameter to set the animation speed.