Configuring the PhysX System

The PhysX system can be configured for each project. With the PhysX Configuration tool, you can do the following:

  • Set the global frequency of PhysX simulations.
  • Set the global PhysX gravity constant.
  • Enable continuous collision detection (CCD) to improve collision results.
  • Set the minimum bounce threshold for collisions.
  • Configure debug draw visualization properties.
  • Set tags for global and local wind forces.
  • Create collision layers and groups.
  • Configure the visual debugger.

In O3DE Editor, from the Tools menu, choose PhysX Configuration to open the PhysX Configuration tool. Changes made to the PhysX configuration settings are automatically saved in your project’s <project_name>\Registry\physxsystemconfiguration.setreg file. If you are using source control, be sure to include this file.

The topics in this section provide information on the settings available in the PhysX Configuration tool.

Global ConfigurationLearn about global PhysX settings including simulation frequency, collision settings, debug visualization options, and wind tags.
Collision LayersCreate collision layers to organize PhysX entities into categories.
Collision GroupsCreate collision groups to define which collision layers interact with each other.
Create Layers and Groups in CodeCreate and access collision groups and layers programmatically.
Debugger ConfigurationConfigure the PhysX Visual Debugger (PVD).
PhysX World Programming NotesUse PhysX worlds for simultaneous discrete simulations that create the illusion of a single large simulation.