Physicalize the Terrain

In this tutorial section, you will physicalize the terrain by adding a physics collider.

Add terrain physics

You can add collision to terrain for PhysX simulation and apply physics materials that define the physical properties of the terrain such as dynamic and static friction. To add physics to a terrain, do the following:

  1. Add a PhysX Heightfield Collider component to the Terrain Spawner entity.

  2. The PhysX Heightfield Collider component displays a warning about missing a required component. Choose Add Required Component and select Terrain Physics Heightfield Collider from the list.

  3. The PhysX Heightfield Collider component adds a collider to the terrain so that dynamic PhysX objects collide with it. You can enable the Use Baked Heightfield property for better performance if the heightfield doesn’t change at runtime, such as when the terrain is generated from an image gradient (heightmap).

  4. The Terrain Physics Heightfield Collider component works just like the Terrain Surface Materials List component. Add a default physics material for the terrain to define its physical properties. You can also add specific physics materials that match the detail materials you applied in the previous section. For example, if you have detail materials for mud, grass, and rock, you can apply physics materials that are appropriate for those different detail materials.


Copyright © 2026 DawnEngine. All rights reserved.

DawnEngine is a commercial 3D engine distributed under the DawnEngine end-user license agreement. Engine binaries and source are proprietary and are not covered by the licenses below.

Documentation only: the prose and templates on this site are a derivative work of Open 3D Engine (O3DE) documentation by the O3DE Contributors, used under CC BY 4.0 (documentation content), Apache 2.0 (site code), and the MIT license (inline code samples).

The open-source 3D engine that DawnEngine is built on top of is Open 3D Engine . DawnEngine is not affiliated with, endorsed by, or sponsored by The Linux Foundation or the O3DE project. “O3DE” and “Open 3D Engine” are trademarks of The Linux Foundation.