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 bool HandleSliding
(
FHitResult & Hit,
float & SubTickTimeRemaining
)
Handle case where projectile is sliding along a surface. Velocity will be parallel to the impact surface upon entry to this method.
True if simulation of the projectile should continue, false otherwise.
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. |