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     6

Starting with Coding Physics

Working with game physics is fun, and Unity’s physics engines make it super easy. Physics defines physical properties of how objects interact with each other or in response to external forces. Unity’s powerful physics engines allow you to assign physical properties to your game objects for consistent, realistic gameplay. There are two physics engines, one for 2D and another for 3D. Though they are implemented with different components such as Box Collider 2D and Box Collider 3D, they work much the same way. In this chapter, you will create a simple game to learn how to set up the physical properties of 3D game objects, then add scripting for more complex, interactive behavior.

Rigidbodies

A game object ...

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