UCharacterMovementComponent::AdjustProxyCapsuleSize

Adjust the size of the capsule on simulated proxies, to avoid overlaps due to replication rounding.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

virtual void AdjustProxyCapsuleSize()

Remarks

Adjust the size of the capsule on simulated proxies, to avoid overlaps due to replication rounding. Changes to the capsule size on the proxy should set bShrinkProxyCapsule=true and possibly call AdjustProxyCapsuleSize() immediately if applicable.