playMaker

Author Topic: Basic movement + jumping [SOLVED]  (Read 1522 times)

Gojtan

  • Playmaker Newbie
  • *
  • Posts: 9
Basic movement + jumping [SOLVED]
« on: June 21, 2020, 01:04:19 PM »
Hi!

I'm setting up movement via Playmaker, and it works, sort of.

The issue is that when I've implemented movement via X-axis with set velocity, it seems to disrupt the "gravity", aka the Y-axis-movement.

If I disable the FSM for left & right movement, the jump works perfectly, movement also works nice when it's enabled, but when I'm trying to jump WITH movement enabled, it just "teleports" my Player into the max-Y-value and slowly drops down with little to no gravity.

I want it to actually look like its jumping, which it does fine when movement is turned off.

Any ideas?

I'll add my states for Jump & Movement.

Movement


Jump


(My states)
« Last Edit: June 21, 2020, 04:32:56 PM by Gojtan »

Thore

  • Sr. Member
  • ****
  • Posts: 480
Re: Basic movement + jumping
« Reply #1 on: June 21, 2020, 01:44:53 PM »
Welcome :)

It’s a bit comical, as there are suddenly a lot of people with this exact issue :) Solution: make sure that velocity Y, vectors and floats, is always set to none, not 0 (your first screenshot)

Gojtan

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Basic movement + jumping
« Reply #2 on: June 21, 2020, 03:33:37 PM »
Welcome :)

It’s a bit comical, as there are suddenly a lot of people with this exact issue :) Solution: make sure that velocity Y, vectors and floats, is always set to none, not 0 (your first screenshot)

Wooow, that easy huh?

Thanks alot! <3