playMaker

Author Topic: Climb in 2d  (Read 1291 times)

swordvisions

  • Playmaker Newbie
  • *
  • Posts: 1
Climb in 2d
« on: June 27, 2014, 03:37:53 PM »
I am fairly new to unity and I am working on my first real game.

I am doing a simple 2d platformer.  I am trying to set up a climbing zone. The player can only move up and down when on a ladder or vine.

Currently, I am using on enter trigger to cut off gravity and adding force based on the vertical input and then when you exit the trigger it cuts gravity back on and vertical input does nothing.

I cannot seem to get it to work correctly, and as I fix issues I seem to be making my FSMs overly complicated.

I am sure that I am doing this the hard way.  I did not think it would be this difficult to add a climbing zone.

The rest of my player movement is working, as well as jumping and my moving platforms are working. I could abandon my ladders and just use moving platforms but I am mostly using this project to learn playmaker and 2d unity and I hate to give up

Any help would be appreciated, or maybe there is a tutorial I missed that would help.  Thanks