Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6f668ba

Browse files
committedFeb 15, 2023
clarify
1 parent 1a5152f commit 6f668ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ void UPBPlayerMovement::TickComponent(float DeltaTime, enum ELevelTick TickType,
189189

190190
if (IsMovingOnGround())
191191
{
192+
/** Fractions of a millisecond is such an infinitesimally small amount of time
193+
* that we can truncate it out for the sake of simplicity. */
192194
if (!bBrakingWindowElapsed) BrakingWindowTimeElapsed += DeltaTime * 1000;
193195

194196
if (BrakingWindowTimeElapsed >= BrakingWindow)

0 commit comments

Comments
 (0)
Please sign in to comment.