Skip to content

Instantly share code, notes, and snippets.

View Arixsus's full-sized avatar

Matthew L Windley Arixsus

  • ReplicantWorlds
View GitHub Profile
@Arixsus
Arixsus / PlayerCharacter.cpp
Last active December 19, 2019 06:19
Falling Damage through Gameplay Ability System
#include "PlayerCharacter.h"
#include "Kismet/KismetMathLibrary"
#include "AbilitySystemBlueprintLibrary.h"
APlayerCharacter::APlayerCharacter()
{
// Change this to 1.0f to have it do 100% of remaining health damage.
FallDamage = .9f;
FallDamageMinimumVelocity = 1200.f;
FallDamageMaximumVelocity = 2000.f;