Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MkAndersson on June 15, 2012, 12:39:22 PM
-
Hello again!
I get this strange behaviour from the Controller Is Grounded action and it causes my jump button to malfunction/lag at times and prevent my player from jumping. Every time I move the grounded action starts flickering between true or false. False is set to a send player into a fall state and doesn't exit until grounded is true again. Once that is true it goes back to the jump checking state.
So because of the strange flickering, it constantly changes out of the jump state when I move.
Any idea on how to fix this because I have no idea :)
Cheers!
-
Haven't been able to fix the issue I'm having so I'm wondering
is this action bugged or am I the only one with this problem?
Just so I can rule that out if it isn't. Thanks!
-
I'm having this exact same issue. When i stand still, my check says "false", and when i start moving the check flickers back and forth between true and false. I thought maybe it had something to do with the fact that my character was colliding with a mesh collider, but i tried a ground made of a simple cube and got the same results.
I'm happy to post up some screenshots if necessary. Has anyone else run into this and been able to fix it?
-
Hi,
The solution is to apply gravity to the movement vector you inject to the controller.
so set the y value of your move vector to -10 ( well -9.81 but you know...) and it will work without any glitches then.
bye,
Jean
-
That worked! Excellent.
Thanks Jean
Sean
-
Sorry for bumping an old thread, but I'm having the same issue and even after giving the Y value a -10, it goes back to 0 when I start the game. Maybe this is another issue or I'm missing something.
If it turned out to be a silly mistake, I apologize as I'm very new to PM.