playMaker

Author Topic: iTween Click to Movement  (Read 1523 times)

SammyJoeUK

  • Playmaker Newbie
  • *
  • Posts: 32
iTween Click to Movement
« 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

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: iTween Click to Movement
« Reply #1 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!

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Re: iTween Click to Movement
« Reply #2 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