How to do this? I very badly know C++ so can you provide minimal amount of code that I have to change in the default CharacterMovementComponent.h to attach it into “MyCharacter” that inherits from Pawn and does not have CapsuleCollision and SkeletalMesh?
The topic is actual.
Hi,
May you be great.
You can start from UPawnMovementComponent
and create your own, try to copy the UCharacterMovementComponent
code and instead of use any variable or function that points to ACharacter
, you can replace them by your AMyCharacter
, and rewrite any code if needed.
But I highly recoment you take a look on Unreal’s new Mover Plugin
aka UMoverComponent
, I think this may solve your issues. It was well used in the Titan Project, same as you in Titan
they have used a APawn
instead of a ACharacter
.