O'Reilly logo

Unity 3.x Game Development Essentials by Will Goldstone

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

Rigidbodies

Physics engines give games a means of simulating realism in physical terms, and they are a feature in almost all game engines either natively or as a plugin. Unity utilizes the Nvidia PhysX physics engine, a precise modern physics engine that is used in many commercial games in the industry. Having a physics engine means that not only are physical reactions such as weight and gravity possible, but realistic responses to friction, torque, and mass-based impact are also possible.

Forces

The influence of the physics engine on objects is known as force, and forces can be applied in a variety of ways through components or scripting. In order to apply physics forces, a game object must be what is known as a Rigidbody object.

The Rigidbody component ...

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