Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::CharacterControllerConfiguration Class Reference

Allows PhysX specific character controller properties that are not included in the generic configuration. More...

#include <CharacterController.h>

Inherits Physics::CharacterConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CharacterControllerConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (CharacterControllerConfiguration, "{23A8DFD6-7DA4-4CB3-BBD3-7FB58DEE6F9D}", Physics::CharacterConfiguration)
 
 CharacterControllerConfiguration (const CharacterControllerConfiguration &)=default
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

SlopeBehaviour m_slopeBehaviour = SlopeBehaviour::PreventClimbing
 Behaviour on surfaces above maximum slope.
 
float m_contactOffset = 0.1f
 Extra distance outside the controller used to give smoother contact resolution.
 
float m_scaleCoefficient = 0.8f
 Scalar coefficient used to scale the controller, usually slightly smaller than 1.
 

Detailed Description

Allows PhysX specific character controller properties that are not included in the generic configuration.


The documentation for this class was generated from the following file: