Hello! I've been developing my first game with PlayMaker and it's great. I've been able to intuit a lot of the issues I've encountered, and use logic to overcome several obstacles, it's a blast.
However, I'm having some trouble adding a character jump to my existing setup and I just can't seem to figure it out. Following the standard YouTube tutorials (which were great), I've since moved on to setting up more complicated FSM's. [The tutorial I used is located at
http://www.hutonggames.com/tutorials_game_design_with_playmaker.php]
I'm still using that existing character setup, which works perfectly, except I'm unable to add a jump. I've read on here and other forums that I can drag the character motor to a SetProperty action (which is tied to a getbutton action, etc), and activate the jump within SetProperty.
Problem is, following the tutorials, I used a "character simple move" action (rather than CharacterMotor), which does not have a jump variable when dragged into the SetProperty action. I tried replacing the Playmaker
"character simple move" action with a
"character move" Playmaker action, but still no jump variable is accessible through SetProperty.
I'm really pleased with how my current FSM's handle character motion, so if it's even possible, I'd love to just add a jump, but if the only option is to start with a new character movement FSM, I'd be happy to do so. I have a "Character Jump" FSM, with an animated float variable, but I'm unsure how to connect the character's Y height with the animated float.
Any ideas? I'm so thankful for any input (no pun intended)
Settings on the FMS responsible for movement:
http://i40.tinypic.com/f44840.jpgA shot of the "character simple move" component attatched to character:
http://i42.tinypic.com/t06fc6.jpgCurrent attempt at adding a jump through separate FSM:
http://i41.tinypic.com/r2nb43.jpg