Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: SammyJoeUK on November 07, 2015, 10:47:40 AM

Title: iTween Click to Movement
Post by: SammyJoeUK on November 07, 2015, 10:47:40 AM
Hi Folks,

I'm trying to mimic the sort of character movement that you find in Zelda: Twilight Princess and/or Zelda: Spirit Tracks. More specifically, I want the character to be moving on a mouse click in the environment. I've had a go using tutorials online but my character doesn't want to move at all.

Any help would be greatly appreciate.

Thanks

sjuk
Title: Re: iTween Click to Movement
Post by: Ofonna on February 08, 2017, 11:53:33 PM
hi sammy just bumped into this and would like to know if you eventually achieved what you wanted to do?
 thanks!
Title: Re: iTween Click to Movement
Post by: elusiven on February 09, 2017, 06:47:27 AM
You get the position, where the mouse was clicked, and you make the player move towards that position, also you can set it so that player is facing that direction too.

Actions:
Dotween Move Rigidbody To
or try
Move Towards

And Look at direction