playMaker

Author Topic: Animation based on Rotation of a game object?  (Read 1944 times)

blindstory

  • Playmaker Newbie
  • *
  • Posts: 3
Animation based on Rotation of a game object?
« on: September 03, 2013, 07:08:05 PM »
hi,
first: playmaker is a game changer!!!

how can i set different walk animation based on the rotation of my character?

thx

parallel

  • Full Member
  • ***
  • Posts: 155
Re: Animation based on Rotation of a game object?
« Reply #1 on: September 03, 2013, 07:25:44 PM »
If you're doing it with a 3rd person controller and mecannim, there's hints in this tutorial:
http://hutonggames.com/playmakerforum/index.php?topic=4596.0


blindstory

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Animation based on Rotation of a game object?
« Reply #2 on: September 03, 2013, 07:51:05 PM »
thanks!
cool tutorial!

but i am working on a 2d topdown game with smoothmoves...

blindstory

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Animation based on Rotation of a game object?
« Reply #3 on: September 03, 2013, 09:42:20 PM »
i try to explain my problem better (bad english i know ;)):

when i press w my character moves up and he looks up (look at mouse)-> play animation "walkForward"

when i press w my character moves up and looks down-> play animation "walkBackward"....
...
thx

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animation based on Rotation of a game object?
« Reply #4 on: September 26, 2013, 06:43:26 AM »
Hi,

 have you been able to make some progress on this?

bye,

 Jean