UProjectileMovementComponent::HandleSliding

Handle case where projectile is sliding along a surface.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h

Include

#include "GameFramework/ProjectileMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp

Syntax

virtual bool HandleSliding
(
    FHitResult & Hit,
    float & SubTickTimeRemaining
)

Remarks

Handle case where projectile is sliding along a surface. Velocity will be parallel to the impact surface upon entry to this method.

Returns

True if simulation of the projectile should continue, false otherwise.

Parameters

Parameter

Description

InitialHit

Hit result of impact causing slide. May be modified by this function to reflect any subsequent movement.

SubTickTimeRemaining

Time remaining in the tick. This function may update this time with any reduction to the simulation time requested.

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