Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/ACharacter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
| Include | #include "GameFramework/Character.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Character.cpp |
UFUNCTION (BlueprintCallable, Category=Character)
virtual void LaunchCharacter
(
FVector LaunchVelocity,
bool bXYOverride,
bool bZOverride
)
Remarks
Set a pending launch velocity on the Character. This velocity will be processed on the next CharacterMovementComponent tick, and will set it to the "falling" state. Triggers the OnLaunched event. @PARAM LaunchVelocity is the velocity to impart to the Character @PARAM bXYOverride if true replace the XY part of the Character's velocity instead of adding to it. @PARAM bZOverride if true replace the Z component of the Character's velocity instead of adding to it.