Lumberyard
Tutorials

Simulate Physics

The following Amazon Lumberyard video tutorials show how to configure your physics simulation in Lumberyard. For more information, see the Simulating Physics Behavior with the NVIDIA PhysX System in the Amazon Lumberyard User Guide.

Series Prerequisites

To perform the tasks described in this tutorial series, the following gems must be enabled in the Project Configurator:

  • Primitive Assets

  • PhysX

  • PhysX Debug

For information about enabling these gems in the Project Configurator, see Enabling Gems.

Use the Terrain, Collider, and Rigid Body Components PhysX Components

Learning Objectives

Familiarize yourself with the PhysX Terrain, PhysX Collider, and PhysX Rigid Body components. Add these components to your entities to give them the ability to interact with the game world simulation, such as falling due to gravity and collisions with other entities.

Prerequisites

  • You must enable the gems listed in the Series Prerequisitessection in this topic.

Tutorial Content

Create and Apply a Physical Material

Learning Objectives

The following PhysX tutorial video shows how to customize how an entity reacts when it collides with a surface by constructing a physical material. In this example the amount of elasticity is increased causing the ball to bounce when dropped.

Prerequisites

  • You must enable the gems listed in the Series Prerequisitessection in this topic.

Tutorial Content

Use Collision Filtering in PhysX

Learning Objectives

Use the PhysX Configuration menu to configure collision layers and enable filtering between different groups and entities. This can be used to create a ghost behavior that can travel through solid objects.

Prerequisites

  • You must enable the gems listed in the Series Prerequisitessection in this topic.

Tutorial Content