Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » HELP » Help (General) » 2D Double Jump problem

2D Double Jump problem

Go down  Message [Page 1 of 1]

1 2D Double Jump problem on Fri Dec 05, 2014 8:25 am


Member [Lv. 0]
Member [Lv. 0]
Hi guys,

I'm fairly new to Unity, but i have worked with C# on a daily basis for almost a year now.

I have made a 2D game from the character motor in the Unity sample assets. It's been expanded with a double jump function, so the character can jump again if doubleJump is false.

I have platforms in 3 layers.

It works as intended until i jump and hit a platform above me - then it's like it sets doubleJump = true, but i have no idea why.

The platforms i spawn has Layer: Ground.

Can anyone please help me see what the problem is? Smile

PlatformerCharacter2D: http://pastebin.com/vP350N3J

Platformer2DUserControl: http://pastebin.com/PPnS8qRg


View user profile

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum