Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unity 3D Game Development

You're reading from   Unity 3D Game Development Designed for passionate game developers—Engineered to build professional games

Arrow left icon
Product type Paperback
Published in Aug 2022
Publisher Packt
ISBN-13 9781801076142
Length 370 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (4):
Arrow left icon
Anthony Davis Anthony Davis
Author Profile Icon Anthony Davis
Anthony Davis
Ryan Stunkel Ryan Stunkel
Author Profile Icon Ryan Stunkel
Ryan Stunkel
Russell Craig Russell Craig
Author Profile Icon Russell Craig
Russell Craig
Travis Baptiste Travis Baptiste
Author Profile Icon Travis Baptiste
Travis Baptiste
Arrow right icon
View More author details
Toc

Scripting your character’s movement

When you’re scripting your character, it’s a good idea to have as many movement-related design conversations as you can to know what to architect out. For Myvari, we wanted to have a few movement-related specifics in the environment because this game is an environmental puzzle game. We should have the environment interact with her as she traverses it. Here is a list of what we went over:

  • Idling
  • Walking:
    • On the ground
    • In water
    • On ledges
  • Rotation

There are two movement-related scripts that we, at this time, haven’t fully decided on implementing. These are running and jumping. The reason we aren’t going to implement these currently is that we do not know for certain that we need them. As we move through the level currently, it feels good walking through it, and we want the player to pay attention to the environment as well. We will...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime