Soo the following code has an issue its called from a function and it will only work if you are moving but once u stop it stops working all together. its just a simple recoil code bit that just move the arms back a tiny bit. i even tried this in world space with same results. is there something wrong with this line of code for it to not be called every time the function is called?
1. FVector* tempVector = new FVector(0,0,0); 1. tempVector->X = ArmsBasePostion.X + Recoil; 1. FPSArms->RelativeLocation = FMath::VInterpTo(ArmsBasePostion, FVector(tempVector->X, ArmsBasePostion.Y, ArmsBasePostion.Z), GetWorld()->DeltaTimeSeconds, 5);