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

Bus for PhysX specific character controller functionality. More...

#include <CharacterControllerBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void Resize (float height)=0
 
virtual float GetHeight ()=0
 Gets the height of the controller.
 
virtual void SetHeight (float height)=0
 
virtual float GetRadius ()=0
 Gets the radius of the controller (for capsule controllers only).
 
virtual void SetRadius (float radius)=0
 
virtual float GetHalfSideExtent ()=0
 Gets the half side extent of the controller (for box controllers only).
 
virtual void SetHalfSideExtent (float halfSideExtent)=0
 
virtual float GetHalfForwardExtent ()=0
 Gets the half forward extent of the controller (for box controllers only).
 
virtual void SetHalfForwardExtent (float halfForwardExtent)=0
 

Detailed Description

Bus for PhysX specific character controller functionality.

Member Function Documentation

◆ Resize()

virtual void PhysX::CharacterControllerRequests::Resize ( float  height)
pure virtual

Changes the height of the controller, maintaining the base position.

Parameters
heightThe new height for the controller.

◆ SetHalfForwardExtent()

virtual void PhysX::CharacterControllerRequests::SetHalfForwardExtent ( float  halfForwardExtent)
pure virtual

Sets the half forward extent of the controller (for box controllers only).

Parameters
halfForwardExtentThe new half forward extent for the controller.

◆ SetHalfSideExtent()

virtual void PhysX::CharacterControllerRequests::SetHalfSideExtent ( float  halfSideExtent)
pure virtual

Sets the half side extent of the controller (for box controllers only).

Parameters
halfSideExtentThe new half side extent for the controller.

◆ SetHeight()

virtual void PhysX::CharacterControllerRequests::SetHeight ( float  height)
pure virtual

Sets the height of the controller, maintaining the center position.

Parameters
heightThe new height for the controller.

◆ SetRadius()

virtual void PhysX::CharacterControllerRequests::SetRadius ( float  radius)
pure virtual

Sets the radius of the controller (for capsule controllers only).

Parameters
radiusThe new radius for the controller.

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