Giter VIP home page Giter VIP logo

pbcharactermovement's Introduction

PBCharacterMovement

Project Borealis character movement component.

Includes all your standard classic FPS movement from HL2:

  • Strafe bunnyhopping
  • Forward bunnyhopping
  • Accelerated back hopping (and forward and back hopping)
  • Strafe boosting
  • Circle strafing
  • Wall strafing
  • Ramp sliding/trimping/collision boosting
  • Smooth crouching and uncrouching, and crouch jumping
  • Optional pogo jumping (automatic bunnyhopping)
  • WIP Surfing

Note

Our ladder movement code is game specific and is not publicly redistributed at this time.

Some functionality, like sprinting speed logic, is not publicly redistributed at this time.

Instructions

  1. Paste the PBCharacterMovement folder into your project's Plugins/ folder, or in your engine Plugins/ folder.
  2. Open your Unreal Engine project.
  3. Add input action bindings for jump and crouch (Settings > Project Settings > Engine > Input). Add axis bindings for forward, right, look up and turn.
  4. Create a new player controller in Blueprint or C++. Here's a simple Blueprint example.
  5. Create a Blueprint child class of PBPlayerCharacter.
  6. Create a gamemode with Default Pawn set to your Blueprint character class, and Player Controller set to your player controller.
  7. Enjoy the movement!

You may also want to use HL2 gravity settings. Go to Settings > Project Settings > Engine > Physics > Constants > Default Gravity Z and set it to -1143.

pbcharactermovement's People

Contributors

mastercoms avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.