playMaker

Author Topic: Movement / Jumping  (Read 465 times)

Kodagames

  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
    • KodaGames
Movement / Jumping
« 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.

Kodagames

  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
    • KodaGames
Re: Movement / Jumping
« Reply #1 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

Thore

  • Sr. Member
  • ****
  • Posts: 334
    • View Profile
Re: Movement / Jumping
« Reply #2 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.

Kodagames

  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
    • KodaGames
Re: Movement / Jumping
« Reply #3 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.
« Last Edit: October 30, 2018, 07:50:07 PM by Kodagames »