Need some extra help!

I added some extra functionality of Aim when the right mouse button is pressed. but in BP_ShooterCharacter. I don’t know how to add this functionality using c++. Specially reference to the CharacterMovement and SpringArm component. Please tell me how to get a reference to the character CharacterMovement and SpringArm component in c++?

Well if you created the SpringArmComponent in blueprint you would need to find it via FindComponentByClass. Alternatively you could create it in C++ via the constructor and CreateDefaultSubobject

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms