diff --git a/Source/StevesUEHelpers/Private/StevesSpringArmComponent.cpp b/Source/StevesUEHelpers/Private/StevesSpringArmComponent.cpp index 6643553..c4fb6ed 100644 --- a/Source/StevesUEHelpers/Private/StevesSpringArmComponent.cpp +++ b/Source/StevesUEHelpers/Private/StevesSpringArmComponent.cpp @@ -4,9 +4,8 @@ -UStevesSpringArmComponent::UStevesSpringArmComponent() +UStevesSpringArmComponent::UStevesSpringArmComponent(): bEnableSmoothCollisionAvoidance(1) { - } FVector UStevesSpringArmComponent::BlendLocations(const FVector& DesiredArmLocation, diff --git a/Source/StevesUEHelpers/Public/StevesSpringArmComponent.h b/Source/StevesUEHelpers/Public/StevesSpringArmComponent.h index 099f8a5..2179215 100644 --- a/Source/StevesUEHelpers/Public/StevesSpringArmComponent.h +++ b/Source/StevesUEHelpers/Public/StevesSpringArmComponent.h @@ -13,7 +13,7 @@ class STEVESUEHELPERS_API UStevesSpringArmComponent : public USpringArmComponent public: /// Whether to move the camera smoothly to avoid collisions rather than jumping instantly UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=CameraCollision) - uint32 bEnableSmoothCollisionAvoidance : 1 = true; + uint32 bEnableSmoothCollisionAvoidance : 1; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=CameraCollision) float SmoothCollisionAvoidanceSpeed = 5;