Ninja Character - Dynamic gravity for characters & objects

UNinjaCharacterMovementComponent::GetComponentDesiredAxisZ determines the axis of the capsule; UNinjaCharacterMovementComponent::UpdateComponentRotation actually rotates the capsule.

2 Likes