IN THIS ARTICLE
PhysX System Global Configuration
On the Global Configuration tab, you can configure global PhysX settings and debug visualization settings.
The following table describes the System Configuration settings.
|Max Time Step ||Specifies the largest time step that the simulation can process. This setting sets a limit for how long a simulation step can be, and prevents instability in the simulation if |
|Fixed Time Step ||Sets the frequency of the PhysX simulation. The default is |
|Raycast Buffer Size||Maximum number of hits that can be returned from a raycast query. The default is |
|Shapecast Buffer Size||Maximum number of hits that can be returned from a shapecast query. The default is |
|Overlap Query Buffer Size||Maximum number of hits that can be returned from an overlap query. The default is |
The following table describes the settings for Physics Materials.
|Default Physics Material||The properties of the default physics material for this project. Refer to Physics material properties for a detailed description of physics material properties.|
|Physics Material Library||The physics material library for this project.|
The following table describes the settings for Scene Configuration.
|Gravity||The world space gravity vector in meters per second squared. The default X, Y, and Z values are |
|Continuous Collision Detection (CCD)||Enables continuous collision detection (CCD) which can improve simulation results at the cost of performance. Disabled by default.|
|Persistent Contact Manifold||If enabled, the data of colliding surfaces is preserved between frames. This is enabled by default and it’s recommended to keep this setting enabled. Persistent manifolds store the contact data created in one time step for potential use in subsequent time steps. This requires more memory for simulation, but can improve the speed and accuracy of collision calculations. If a collision occurs, the data is stored in a persistent contact manifold for use in the next time step. If the surfaces are no longer colliding in the next time step, the data is discarded. Otherwise, the data is used to speed up the calculation, improve accuracy, and reduce jitter and other unwanted simulation artifacts.|
|Bounce Threshold Velocity||The relative velocity below which colliding objects will not bounce. The default is |
The following options control the appearance of PhysX debug visualizations in O3DE Editor, including the Debug Draw COM (center of mass) option of the PhysX Rigid Body component.
|Debug Draw Center of Mass Size||The size of the debug draw circle that represents the center of the mass. Possible values are from |
|Debug Draw Center of Mass Color||The color of the debug draw circle that represents the center of mass. To specify a color, enter its RGB values in the text box. The icon displays the selected color. The default values are |
|Global Collision Debug||Set the global collision debug draw visibility options.|
Enable all colliders Displays all PhysX colliders, including colliders set as hidden.
Disable all colliders Hides all PhysX colliders, including colliders set as visible.
Set manually You can set PhysX collider visibility on each collider component individually. This is the default setting.
|Global Collision Debug Color Mode||Set the debug color mode.|
Material Color Mode Uses physics material’s debug color.
Error Mode Shows glowing red for error cases such as meshes with too many triangles.
|Display Joints Hierarchy||When enabled, PhysX joint lead-follower connections are displayed in the viewport as a line with two colors. One color for the lead and one color for the follower. Enabled by default.|
|Joints Hierarchy Lead Color||The color of the lead half of a lead-follower joint connection line.|
|Joints Hierarchy Follower Color||The color of the follower half of a lead-follower joint connection line.|
|Joints Hierarchy Distance Threshold||The minimum distance required to draw the line for the follower connection. Distances shorter than this threshold only draw the line for the lead connection. The default is |
The following table describes the settings for Wind Configuration. For more information, refer to Create Wind Forces .
|Global wind tag||This tag is used by PhysX wind system to specify entities that provide global wind forces.|
|Local wind tag||This tag is used by PhysX wind system to specify entities that provide wind forces localized to a collider volume.|