group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
KinematicCharacterController.hpp File Reference

Focused capsule KCC step for player/world collision resolution. More...

#include "ecs/components/CollisionShape.hpp"
#include "ecs/components/PlayerVisState.hpp"
#include "ecs/physics/KccFrameResult.hpp"
#include "ecs/physics/SweptCollision.hpp"
#include <entt/entity/fwd.hpp>
#include <glm/vec3.hpp>
Include dependency graph for KinematicCharacterController.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  systems
 Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent).

Functions

physics::KccFrameResult systems::runKinematicCharacterController (glm::vec3 &pos, glm::vec3 &vel, const CollisionShape &shape, PlayerVisState &state, float dt, const physics::WorldGeometry &world, entt::entity entity, bool jumpedThisTick, PlayerSimState *simState=nullptr)
 Resolve one fixed-tick capsule character-controller step.

Detailed Description

Focused capsule KCC step for player/world collision resolution.