Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: plenoal15 on January 04, 2019, 11:08:24 PM

Title: Create a loop moviment
Post by: plenoal15 on January 04, 2019, 11:08:24 PM
Hello, is possible to creates a loop moviment ? What is the actions to create ? Thanks
Title: Re: Create a loop moviment
Post by: djaydino 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.