|
Engine²
Open-source game engine written in C++.
|
#include "system/CharacterControllerSystem.hpp"#include "Logger.hpp"#include "component/CapsuleCollider.hpp"#include "component/CharacterController.hpp"#include "component/CharacterControllerInternal.hpp"#include "component/Transform.hpp"#include "entity/Entity.hpp"#include "exception/CharacterControllerError.hpp"#include "resource/PhysicsManager.hpp"#include "scheduler/FixedTimeUpdate.hpp"#include "utils/JoltConversions.hpp"#include <Jolt/Physics/Character/CharacterVirtual.h>#include <Jolt/Physics/Collision/Shape/CapsuleShape.h>Namespaces | |
| namespace | Physics |
| namespace | Physics::System |
Functions | |
| static void | Physics::System::OnCharacterControllerConstruct (Engine::Core::Registry ®istry, Engine::EntityId entityId) |
| static void | Physics::System::OnCharacterControllerDestroy (Engine::Core::Registry ®istry, Engine::EntityId entityId) |
| void | Physics::System::CharacterControllerUpdate (Engine::Core &core) |
| Update the character controller system. This will process all entities with character controllers and update their state based on input and physics interactions. | |
| void | Physics::System::InitCharacterControllerSystem (Engine::Core &core) |
| Initialize the character controller system. This will set up necessary resources and state for character controllers to function. | |
| void | Physics::System::ShutdownCharacterControllerSystem (Engine::Core &core) |
| Shutdown the character controller system. This will clean up any resources used by the system. | |