Skip to content

Commit

Permalink
Fix foot IK issues on packaged game, because of corrupt data on offse…
Browse files Browse the repository at this point in the history
…t target vectors
  • Loading branch information
dyanikoglu committed Dec 1, 2020
1 parent 40a96b5 commit e4e07c3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ void UALSCharacterAnimInstance::UpdateLayerValues()

void UALSCharacterAnimInstance::UpdateFootIK(float DeltaSeconds)
{
FVector FootOffsetLTarget;
FVector FootOffsetRTarget;
FVector FootOffsetLTarget = FVector::ZeroVector;
FVector FootOffsetRTarget = FVector::ZeroVector;

// Update Foot Locking values.
SetFootLocking(DeltaSeconds, FName(TEXT("Enable_FootIK_L")), FName(TEXT("FootLock_L")),
FName(TEXT("ik_foot_l")), FootIKValues.FootLock_L_Alpha, FootIKValues.UseFootLockCurve_L,
Expand Down

0 comments on commit e4e07c3

Please sign in to comment.