3D Game Kit

We are now going to add a physics material to one of our objects. Let's go through the following steps:

  1. Create RockChunk01 in the scene and change all the size properties to 0.1.
  2. Apply a physics material to it so we can learn and understand how can we add friction and bouncing to an object.
  1. Right-click on the Project view, then select Create and then Physics Material, as shown in the following screenshot:

  1. Once we have done this, enter our desired name for the material and press the Enter key. The Physics Material properties will appear in our Inspector view, which are as follows:
Dynamic Friction The friction that is applied ...

Get Hands-On Game Development without Coding now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.