playMaker

Author Topic: Movement / Jumping  (Read 1389 times)

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Movement / Jumping
« on: October 29, 2018, 08: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.
Have I said how much I love playmaker!!! This is one amazing tool

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Re: Movement / Jumping
« Reply #1 on: October 29, 2018, 09: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
Have I said how much I love playmaker!!! This is one amazing tool

Thore

  • Sr. Member
  • ****
  • Posts: 480
Re: Movement / Jumping
« Reply #2 on: October 30, 2018, 02:30:14 PM »
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.

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Re: Movement / Jumping
« Reply #3 on: October 30, 2018, 10: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.
« Last Edit: October 30, 2018, 10:50:07 PM by Kodagames »
Have I said how much I love playmaker!!! This is one amazing tool