Skip to Main Content
Learn Unity 3D Programming with UnityScript: Unity's JavaScript for Beginners
book

Learn Unity 3D Programming with UnityScript: Unity's JavaScript for Beginners

by Janine Suvak
August 2014
Beginner content levelBeginner
424 pages
10h 23m
English
Apress
Content preview from Learn Unity 3D Programming with UnityScript: Unity's JavaScript for Beginners

Chapter     5

Moving the GameObject

You have built a basic scene and populated it with GameObjects. You’ve added scripts to allow user interaction to add and destroy GameObjects, as well as change their appearance. Now it’s time to add movement.

First you’ll learn how to use the GameObject’s Transform component to move the GameObject through a script. Then you’ll get an introduction on how to use Unity’s Mecanim system with more complex GameObject characters from the Asset Store. These come with built-in animations that you will learn to manipulate via your scripts.

The Unity game engine also provides for GameObject movement and interaction in response to forces like gravity or collisions with other GameObjects. These are controlled by Unity ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Unity 3D

Learning Unity 3D

Robert Wiebe
Unity 3D Game Development

Unity 3D Game Development

Anthony Davis, Travis Baptiste, Russell Craig, Ryan Stunkel

Publisher Resources

ISBN: 9781430265870Purchase book