UProjectileMovementComponent::HandleSliding

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h

Source

Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp