UCharacterMovementComponent::AdjustProxyCapsuleSize

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss