O'Reilly logo

Building an RPG with Unity 5.x by Vahé Karamian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Player Character and Non-Player Character Design

In Chapter 3, Character Design, we covered a wide range of topics to prepare your character model for the game. We looked at how to import and set up our character model, created the BaseCharacter class, used the Animator Controller to set up the state diagram and created the initial character controller to handle the motion and behavior of our character model and finally looked at some basic inverse kinematics for the foot.

In this chapter we will expand on the character player and also the non-character player.

  • Customizing the Player Character
    • Customizable parts (Model)
    • C# Code for customization
    • Preserving character state
    • Recap

  • Non-Player Characters (NPCs)
    • Non-Player character basics
    • Setting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required