Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Generate a random angle in degrees that is approximately equal between client and server. Note that in networked games this result changes with low frequency and has a low period, so should not be used for frequent randomization.
| Name | GetNetworkSafeRandomAngleDegrees |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual float GetNetworkSafeRandomAngleDegrees() const