Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UProjectileMovementComponent
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 |
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. True if simulation of the projectile should continue, false otherwise.
Parameters
| Name | 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. |