#include <SystemConfiguration.h>
Public Member Functions | |
AZ_RTTI (AzPhysics::SystemConfiguration, "{24697CAF-AC00-443D-9C27-28D58734A84C}") | |
bool | operator== (const SystemConfiguration &other) const |
bool | operator!= (const SystemConfiguration &other) const |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
AZ_CLASS_ALLOCATOR_DECL | |
float | m_maxTimestep = 0.1f |
Value represents 1/60th or 60 FPS. | |
float | m_fixedTimestep = DefaultFixedTimestep |
Timestep in seconds to run the physics update. See DefaultFixedTimestep. | |
AZ::u32 | m_raycastBufferSize = 32 |
Maximum number of hits that will be returned from a raycast. | |
AZ::u32 | m_shapecastBufferSize = 32 |
Maximum number of hits that can be returned from a shapecast. | |
AZ::u32 | m_overlapBufferSize = 32 |
Maximum number of overlaps that can be returned from an overlap query. | |
CollisionConfiguration | m_collisionConfig |
bool | m_autoManageSimulationUpdate = true |
Static Public Attributes | |
static constexpr float | DefaultFixedTimestep = 0.0166667f |
Contains global physics settings. Used to initialize the Physics System.
bool AzPhysics::SystemConfiguration::m_autoManageSimulationUpdate = true |
CollisionConfiguration AzPhysics::SystemConfiguration::m_collisionConfig |
Contains the default global collision layers and groups. Each Physics Scene uses this as a base and will override as needed.
float AzPhysics::SystemConfiguration::m_maxTimestep = 0.1f |
Value represents 1/60th or 60 FPS.
Maximum fixed timestep in seconds to run the physics update (10FPS).