Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Splankton on September 10, 2013, 09:26:24 AM

Title: Mecanim, how to get player to always face forwards[SOLVED]
Post by: Splankton 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?
Title: Re: Mecanim, how to get player to always face forwards
Post by: jeanfabre 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
Title: Re: Mecanim, how to get player to always face forwards
Post by: Splankton on September 11, 2013, 04:32:07 AM
Thanks a lot I'd really appreciate it  :)
Title: Re: Mecanim, how to get player to always face forwards
Post by: Splankton on September 12, 2013, 11:56:01 AM
<bump> :)
Title: Re: Mecanim, how to get player to always face forwards
Post by: jeanfabre 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
Title: Re: Mecanim, how to get player to always face forwards
Post by: Splankton 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?
Title: Re: Mecanim, how to get player to always face forwards
Post by: jeanfabre 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
Title: Re: Mecanim, how to get player to always face forwards
Post by: Splankton 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?
Title: Re: Mecanim, how to get player to always face forwards
Post by: jeanfabre on September 30, 2013, 02:27:09 AM
Hi,

  :'(

Can you give me few more days?


Bye,

 Jean
Title: Re: Mecanim, how to get player to always face forwards
Post by: Splankton on September 30, 2013, 10:25:01 AM
Of course!  Take your time Jean there's no rush ;-)
Title: Re: Mecanim, how to get player to always face forwards
Post by: jeanfabre on October 03, 2013, 12:56:56 AM
Thanks.

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

bye,

 Jean
Title: Re: Mecanim, how to get player to always face forwards
Post by: jeanfabre 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
Title: Re: Mecanim, how to get player to always face forwards
Post by: Splankton on October 10, 2013, 10:40:14 AM
Excellent thanks Jean, I really appreciate it!