smooth Zoom camera on crouch toggle c++ (TimeLine/EnhancedInput)

It has been a while, but for future visitors:
UE_LOG(LogTemp, Warning, TEXT(“%f”), &Value); The ampersand (&) should go.
It is also probably better to move the call to CrouchCameraZoom() to Beginplay().

1 Like