RealDocs

UCharacterMovementComponent::NavMeshProjectionHeightScaleUp

property Engine Blueprint Since 4.0
#include "GameFramework/CharacterMovementComponent.h"
Access: public Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite

Description

Scale of the capsule's total height used to start the upward trace when projecting a NavWalking character from the nav mesh down onto the underlying geometry.

Caveats & Gotchas

  • The actual trace start height is CapsuleHeight multiplied by this scale, not an absolute distance in centimetres.
  • Only used when bProjectNavMeshWalking is enabled.
  • Setting this too low can cause the projection trace to start below the geometry it's meant to find, especially on capsules with a small half-height.

Signature

float NavMeshProjectionHeightScaleUp;

Example

Widen the upward trace start C++
if (UCharacterMovementComponent* MoveComp = GetCharacterMovement())
{
	MoveComp->NavMeshProjectionHeightScaleUp = 0.8f;
}

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.