Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Dev_Sebas on March 15, 2012, 07:50:02 PM

Title: Is grounded? [SOLVED]
Post by: Dev_Sebas on March 15, 2012, 07:50:02 PM
Hi guys
I´m sorry about question this very simple question.But I need your help.
I have my player this 2 FSM´s.1 FSM for player movement (walk,run,duck and jump) and another FSM for control the height
That second FSM have two actions one for grounded and another for flying.Both have the action "Is grounded"
Grounded state says when is true stay in grounded state and when is false go to in air state.
In Air state says when is false stay in air state and when is true go to grounded state.
The don´t have transitions because they have global transitions.
The start action is in air because my player isn´t grounded.
When I star my game my player falls but my second FSM does´t pass to Grounded state. ???
Please help me guys
Any help is very useful
Bye
Title: Re: Is grounded?
Post by: justifun on March 16, 2012, 06:53:33 PM
Make sure your character has a character controller on it (probably needs a character motor as well)

also make sure "every frame" is checked too.
Title: Re: Is grounded?
Post by: Dev_Sebas on March 17, 2012, 09:19:24 AM
Make sure your character has a character controller on it (probably needs a character motor as well)

also make sure "every frame" is checked too.

Thank you a lot!I`m very appreciated.
I had not checked "Every Frame".
Thank you.
Bye