Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h |
Include |
#include "GameFramework/ProjectileMovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp |
virtual void SetInterpolatedComponent
(
USceneComponent * Component
)
Assigns the component that will be used for network interpolation/smoothing. It is expected that this is a component attached somewhere below the UpdatedComponent. When network updates use MoveInterpolationTarget() to move the UpdatedComponent, the interpolated component's relative offset will be maintained and smoothed over the course of future component ticks. The current relative location and rotation of the component is saved as the target offset for future interpolation.