"Peerer's Ledge" Parkour system

Like my original creative name? Oh, but seriously, after enjoying Mirror’s Edge game play videos, I decided to make my own parkour system. By no means finished. Currently you can do all sorts of fancy stuff though.

WASD
General locomotion
LEFT SHIFT
go from run into slide
crouch
drop down normal when edge grabbing
hold when falling for height roll
SPACE
Jump while on ground
jump in direction of camera while edge grabbing
LEFT MOUSE
Grab edge
click again to pull yourself up

Different moves:
Tic tac
Run up to a wall and hit space so that you’re in the air when you hit the wall
When you hit or are close to the wall, hit space again to jump off of it.
Roll
When dropping from high up, hold shift down to enter a roll
Wall run(vertical)
run up to a wall, hit space just before hitting the wall, and hold down up to climb
Wall Run(horizontal)
Get up speed and run on the side of a wall
Edge grab
When a ledge is around or above your head, click to grab

https://dl.dropboxusercontent.com/u/40580649/ParkourSys/ParkourSys.html

This system reuses these same simple keys for different things.
Forward running also has acceleration.
Enjoy!

Now making this open source, feel free to use this for whatever (freeware, payware, I don’t really care as long as you’re not directly selling these scripts!)
How to use? Ignore the Animator component, the cam object is your camera and mouselookXcam is the camera’s mouselook. Plug it in and it should work fine!
Donwload:
CharacterMotor:
https://dl.dropboxusercontent.com/u/40580649/ParkourScripts/CharacterMotor.cs
FPSInputController:
https://dl.dropboxusercontent.com/u/40580649/ParkourScripts/FPSInputController.cs
Have fun guys! :smile:
(I got the c# versions from somewhere else, I think it was the Forums or Unity Answers or something)

The feeling is nice so far!

I would suggest you to write the commands on the top left corner of the demo for example, would be wayy easier to test everything. You can make it toggleable with the H key for example!

Thanks! :slight_smile: That’s a good suggestion!

Nice demo, I am also beginning to create a first person parkour system. Is your system dynamic, if so how did you go around doing it? I am interested to see how others have built their system. Good work :slight_smile:

Quite good! Have you checked PM??

@EBR,
You can look in the script to see how I did it. Basically, I used a lot of coroutines, and a LOT of raycasts :wink: It helps to have a good knowledge of dimensions and the space around your character when doing raycasts.

@Mychal,
the end of this post should answer that :wink:

Now making this open source, feel free to use this for whatever (freeware, payware, I don’t really care as long as you’re not directly selling these scripts!)
How to use? Ignore the Animator component, the cam object is your camera and mouselookXcam is the camera’s mouselook. Plug it in and it should work fine!
Donwload:
CharacterMotor:
https://dl.dropboxusercontent.com/u/40580649/ParkourScripts/CharacterMotor.cs
FPSInputController:
https://dl.dropboxusercontent.com/u/40580649/ParkourScripts/FPSInputController.cs
Have fun guys! :smile:
(I got the c# versions from somewhere else, I think it was the Forums or Unity Answers or something)

are you making this game for mobile?
if you, please tell me how to edit a game so that it can be used on mobile.

Hey The smooth gamemaker! I have no mobile experience so I’m not sure how it all works. :slight_smile: If I had to guess, you could just swap wherever I have an Input.GetAxis or Input.GetButton for your own values.

Hey Stopsecret, thanks so much for sharing your script! A lot of what I was able to accomplish in my game was because of you. Here’s a video of the game in case you’re curious, I did make modifications to your script but relied on it for the core mechanics:

Looks amazing thanks for sharing, how hard would it be to use this script for a third person character?

I would like to thank you for sharing your script. I was really confused as to how to do ledge climbing and your script allowed me to combing my raycast system with your ledge grabbing controls for my 2D plat-former. I added an extra ray cast which check above the player to see if there is room to climb up.

Could you by chance make a prefab version and optimize it for Unity 5.4?

The link no longer works anymore. Could you mae a new one?

1 Like

I’d love to buy this too, there’s no good Parkour controller out for Unity right now.

1 Like

Please update the links i want it so badly

1 Like