playMaker

Author Topic: Is grounded? [SOLVED]  (Read 2690 times)

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • Blog
Is grounded? [SOLVED]
« 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
« Last Edit: March 17, 2012, 10:23:47 AM by Alex Chouls »

justifun

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 280
Re: Is grounded?
« Reply #1 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.

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • Blog
Re: Is grounded?
« Reply #2 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