FCharacterMotionSimulation::ComputeVelocity

Computes a velocity based on InputVelocity and current state.

Windows
MacOS
Linux

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/CharacterMotionSimulation.h

Include

#include "CharacterMotionSimulation.h"

Source

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Private/CharacterMotionSimulation.cpp

Syntax

virtual FVector ComputeVelocity
(
    float DeltaSeconds,
    const FVector & InitialVelocity,
    const TNetSimInput< CharacterMotionStateTypes > & Input,
    const TNetSimOutput< CharacterMotionStateTypes > & Output,
    const FVector & LocalSpaceMovementInput
) const

Remarks

Computes a velocity based on InputVelocity and current state.

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