Hello guys, I was tyring to build a Mover 2.0 system form my character using C++, but i noticed that I can just inherit the “SmoothWalkingMode” from blueprint, can’t atually found that C++ to inherit when creating a new C++ class. If i force it inherit from “SmoothWalkingMode’“ by changin the code:
UCLASS(Blueprintable, BlueprintType)
class Project_API UProjectMovementMode : public UWalkingMode
{
GENERATED_BODY()
}
to
UCLASS(Blueprintable, BlueprintType)
class Project_API UProjectMovementMode : public USmoothWalkingMode
{
GENERATED_BODY()
}
it would say can’t open the generate file, is this because the Mover 2.0 still an experimental plugin?
Hello, I’ve just try your way to solve the issue, but I noticed that “SmoothWalkingState.h“ is in the private folder of Mover plugin, so I can’t include “DefaultMovementSet/Modes/SmoothWalkingState.h”, do you know how to fix it?
Hi, first thanks a lot for your help and return this quick, but I still have some issue when I tried to build it. It’s strange, cause if I change the include from include “DefaultMovementSet/Modes/SmoothWalkingMode.h” to include “DefaultMovementSet/Modes/WalkingMode.h” and
UCLASS(Blueprintable, BlueprintType)
class Project_API UProjectSmoothWalkingMode : public USmoothWalkingMode
{
GENERATED_BODY()
};
to
UCLASS(Blueprintable, BlueprintType)
class Project_API UProjectSmoothWalkingMode : public UWalkingMode
{
GENERATED_BODY()
};
and it works, but I have no idea why