playMaker

Author Topic: Jumping is not working[SOLVED]  (Read 7074 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Jumping is not working[SOLVED]
« on: August 29, 2013, 11:45:39 PM »
Hi!
I try to figure out how to make an object jump and double jump.
And I made it, but when I have a simple movement in another FSM, the object is not jumping when I hit space. Should I have the jumping and walking and climbing, etc. in the same FSM or in separate FSM?
Some ideas what I do wrong? I can upload a screenshot of the FSM if it's necessary.
« Last Edit: September 10, 2013, 06:15:11 AM by jeanfabre »
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Jumping is not working
« Reply #1 on: August 30, 2013, 06:25:13 AM »
Will need a screenshot to be able to help :D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #2 on: August 30, 2013, 03:27:12 PM »
Hi!
Here is the screenshots! I don't know why it's only the FSM window on the screenshots. How can I take screenshot of the window to the right with all the action?
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

redikann

  • Full Member
  • ***
  • Posts: 174
Re: Jumping is not working
« Reply #3 on: August 31, 2013, 03:50:36 PM »
If your using a character controller with Simple Move any movement in the Y is ignored.

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #4 on: August 31, 2013, 03:51:51 PM »
Ok, so what can I do to solve this problem?
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Jumping is not working
« Reply #5 on: August 31, 2013, 03:52:51 PM »
Can you post the scene?

It's pretty hard to find the problem with the information so far.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #6 on: August 31, 2013, 04:02:27 PM »
Ok! I have never post a scene here before. How do I upload the scene here? Do I need to right click on the scene, and then export package? Sorry if I ask stupid! :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Jumping is not working
« Reply #7 on: August 31, 2013, 04:18:54 PM »
Since you're using simple primitives you can just send the scene itself, no need for a package. Are you using any globals? Need to export via the playmaker menu if so.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #8 on: August 31, 2013, 04:33:59 PM »
Ok! I try to upload the scene. I use global for jump count, but this is just something i'm experimenting with. Not important!
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Jumping is not working
« Reply #9 on: August 31, 2013, 04:49:27 PM »
Controller Simple Move is overriding the position of the object and not allowing Jump to work.

Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #10 on: August 31, 2013, 04:52:20 PM »
Ok! So how can I fix this?
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Jumping is not working
« Reply #11 on: August 31, 2013, 05:02:39 PM »
It seems like you need to use an action that Controller Simple Move is friendly with if you plan to keep it for your movement vectors. Mixing physics/forces with transforms has always been troublesome.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #12 on: August 31, 2013, 05:08:36 PM »
Is it some better solutions then? I just want to have a simple movement left and right with jumping to start with.
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Jumping is not working
« Reply #13 on: August 31, 2013, 05:15:38 PM »
http://hutonggames.com/playmakerforum/index.php?topic=4025.0

I have a sidescroller example there but its pretty early and has problems of its own.

Nonetheless you can probably get a good start from there. Haven't tested it in the latest PM/Unity versions so let me know if it isnt working right.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping is not working
« Reply #14 on: August 31, 2013, 05:34:25 PM »
Thank you!
The web version was working fine, but in Unity, it was some problems with the jumping. The player was just shot up like a rocket and never landed
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no