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
Procedural Content Generation for Unity Game Development

You're reading from   Procedural Content Generation for Unity Game Development Harness the power of procedural content generation to design unique games with Unity

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785287473
Length 260 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ryan Watkins Ryan Watkins
Author Profile Icon Ryan Watkins
Ryan Watkins
Arrow right icon
View More author details
Toc

Animation


Animation generation is more common than one might think. Have you ever played a game where an NPC turned to look in your direction? This is a procedurally generated animation.

Mr. I in Mario 64, changing the direction it looks in toward Mario

These types of animations are more intuitively created procedurally. A similar example is an NPC moving towards you as you fled. The NPC would have to procedurally generate the path and animate its position through it. This is only a partial animation, though, as we would still have to animate the walk or run animation as well. The walk/run animation would be much harder to generate procedurally so we usually use key frame animation here.

Animation is something that has been studied in the academic realm for a while. Animating physical reactions is a big part of this study, but natural movement comes up a lot too. We use key frame animation for things like movement because we need the animations to look believable or it breaks immersion. However...

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 $19.99/month. Cancel anytime