playMaker

Author Topic: Mecanim, how to get player to always face forwards[SOLVED]  (Read 4223 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Mecanim, how to get player to always face forwards[SOLVED]
« on: September 10, 2013, 09:26:24 AM »
Are there any good tutorials on Mecanim and Playmaker?
I'm looking at the PlayermakerAnimatorActions package, which is helpful but I need more help with how to move my player like the one in Unity's Stealth.  It has  the player always facing forward which is what I want.  Can anyone help me out?
« Last Edit: October 10, 2013, 01:29:52 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim, how to get player to always face forwards
« Reply #1 on: September 11, 2013, 03:19:49 AM »
Hi,

 There is not tutorial as far as I am aware, I only worked out so far porting the various mecanim sample. I do think that Unity Stealh is a really good example to port in PlayMaker. I'll see what I can do to make the player move  the same way but using playmaker.

 Can you bump me on this regularly :) if you don't hear back? thanks :)

bye,

 Jean

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Mecanim, how to get player to always face forwards
« Reply #2 on: September 11, 2013, 04:32:07 AM »
Thanks a lot I'd really appreciate it  :)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Mecanim, how to get player to always face forwards
« Reply #3 on: September 12, 2013, 11:56:01 AM »
<bump> :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim, how to get player to always face forwards
« Reply #4 on: September 13, 2013, 03:20:56 AM »
:) by regularly, I meant every year or so  :o

I'll get on this next week.

Bye,

 Jean

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Mecanim, how to get player to always face forwards
« Reply #5 on: September 14, 2013, 12:30:46 PM »
By the way, Jean, would it be easy to have it so the controls can also be used on a mobile device using the accelerometer to move the player?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim, how to get player to always face forwards
« Reply #6 on: September 16, 2013, 01:20:51 AM »
Hi,

 Yes, it's not that hard to control via other input. What would be "hard" would be to get the acceleration values like you expect them to be.

So, first experiment with just the acceleration and move a simple box, to get acquainted with it, and then you can move into controlling that mecanim character.

bye,

 Jean

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Mecanim, how to get player to always face forwards
« Reply #7 on: September 29, 2013, 08:40:57 AM »
Hi,

 There is not tutorial as far as I am aware, I only worked out so far porting the various mecanim sample. I do think that Unity Stealh is a really good example to port in PlayMaker. I'll see what I can do to make the player move  the same way but using playmaker.

 Can you bump me on this regularly :) if you don't hear back? thanks :)

bye,

 Jean

Hi Jean, any news on how its going?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim, how to get player to always face forwards
« Reply #8 on: September 30, 2013, 02:27:09 AM »
Hi,

  :'(

Can you give me few more days?


Bye,

 Jean

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Mecanim, how to get player to always face forwards
« Reply #9 on: September 30, 2013, 10:25:01 AM »
Of course!  Take your time Jean there's no rush ;-)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim, how to get player to always face forwards
« Reply #10 on: October 03, 2013, 12:56:56 AM »
Thanks.

it's closing down! so it's definitly coming next.

bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim, how to get player to always face forwards
« Reply #11 on: October 10, 2013, 01:51:26 AM »
Hi,

 Done :)

http://hutonggames.com/playmakerforum/index.php?topic=5161.0

This is the Stealth player done in playmaker. so you will have in there the logic to turn the player ( or any object for that matter) in the absolute direction of the user input.

 Bye,

 Jean

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Mecanim, how to get player to always face forwards
« Reply #12 on: October 10, 2013, 10:40:14 AM »
Excellent thanks Jean, I really appreciate it!