Hi Eceryone! I'm trying to follow this tutorial, about an fps controller: https://wiki.unrealengine.com/First_Person_Shooter_C%2B%2B_Tutorial
And when coding the movements
I'm having troubles with CharacterMovement (I have my own class AFPSCharacter : public ACharacter ) Who inherits from ACharacter, but the CharacterMovements seem to be Private, and if i use the getter GetCharacterMovementComponent, it returns a PawnCharacterMovement.
How could i fix this code? Any hints would be really appreciated! Thanks in advance!
asked Mar 07 '19 at 04:44 PM in C++ Programming
The proper getter to get the Character Movement component of a Character is GetCharacterMovement(), not GetCharacterMovementComponent().
Hope it helps.
answered Mar 07 '19 at 05:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here