UCharacterMovementComponent::NavMeshProjectionTimer
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYTransient
Description
Internal countdown timer that tracks when the next NavMesh-to-geometry projection raycast should fire while NavWalking.
Caveats & Gotchas
- • Transient and not exposed to Blueprint — this is bookkeeping state for ProjectLocationFromNavMesh(), not a value meant to be read or set by game code.
- • Counts down against NavMeshProjectionInterval; setting it directly just shifts when the next raycast happens rather than changing projection behavior.
- • Only relevant while bProjectNavMeshWalking is true and the character is in NavWalking movement mode.
Signature
float NavMeshProjectionTimer Example
Forcing an immediate re-projection C++
// Force the next tick to re-project against the nav mesh immediately
// instead of waiting for the normal interval to elapse.
MovementComponent->NavMeshProjectionTimer = 0.f; See Also
Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?