In this tutorial, we will go through the entire process of creating a new character controller, step-by-step. This will cover a wide variety of features, and will give you an overview of all the different ways this character controller can be customized.
The tutorial can be followed without downloading the final project, but the completed tutorial project can be found here
Note 1: Throughout this tutorial, the code samples will often have chunks of excluded code in order to show only the important parts that you need to add or modify. The // (...)
represents excluded code.
Note 2: For a more general DOTS tutorial, you may consult the various samples and tutorials in the EntityComponentSystemSamples
- Project Setup
- Standard Character Setup
- Double-Jump
- Sprinting
- Character Hits
- Enable Dynamics
- Moving Platforms
- Step Handling and Slope Changes
- Ignore Collisions With Tag
- Friction Surfaces
- Jump Pad (add forces to character)
- AI Character
The following tutorial goes over all the steps required in order make the Standard Characters compatible with netcode prediction: