Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Kodagames on October 29, 2018, 05:57:04 PM

Title: Movement / Jumping
Post by: Kodagames on October 29, 2018, 05:57:04 PM
Hi,

I've hit a road block and need some guidance.

I have a character that has "Set Velocity 2d", to move it in the X direction with a speed variable.

I also have a simple Jump setup with "Add Force 2d" in the Y direction.

Both of these work fine independently but when I have them both on (2 FSMs on the same object) the Jump barely Jumps and Im not quite sure what to try (I've been trying so many different things and don't know which way is up).

Im trying to achieve a character that constantly moves in the X direction but can jump.
Title: Re: Movement / Jumping
Post by: Kodagames on October 29, 2018, 06:18:48 PM
Ok I got it, after going through the list of actions I decided to use Translate and they both work good together :D
Title: Re: Movement / Jumping
Post by: Thore on October 30, 2018, 11:30:14 AM
I use the same setup, with velocity horizontal on one FSM, and vertical/up on the other. That definitely works. Different solutions can have important implications later on.
Title: Re: Movement / Jumping
Post by: Kodagames on October 30, 2018, 07:34:54 PM
Appreciate that :D
If I have any implications I will definitely try it ;) I think I'll try it just to learn how to do it which is even better.