playMaker

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

Splankton

  • Sr. Member
  • ****
  • Posts: 258
    • View Profile
Mecanim, how to get player to always face forwards[SOLVED]
« on: September 10, 2013, 06: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, 10:29:52 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #1 on: September 11, 2013, 12: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: 258
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #2 on: September 11, 2013, 01:32:07 AM »
Thanks a lot I'd really appreciate it  :)

Splankton

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #4 on: September 13, 2013, 12: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: 258
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #5 on: September 14, 2013, 09:30:46 AM »
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: 14342
  • Official Playmaker Support
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #6 on: September 15, 2013, 10:20:51 PM »
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: 258
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #7 on: September 29, 2013, 05: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: 14342
  • Official Playmaker Support
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #8 on: September 29, 2013, 11:27:09 PM »
Hi,

  :'(

Can you give me few more days?


Bye,

 Jean

Splankton

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #10 on: October 02, 2013, 09:56:56 PM »
Thanks.

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

bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #11 on: October 09, 2013, 10:51:26 PM »
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: 258
    • View Profile
Re: Mecanim, how to get player to always face forwards
« Reply #12 on: October 10, 2013, 07:40:14 AM »
Excellent thanks Jean, I really appreciate it!