C++: overriding functions reliant on private and protected variables
I am trying to make a minor adjustment to a large function inherited from a parent. While I only need to change a few lines of code I need to copy paste the whole function into the child since you cant override only part of a function. The issue is that it uses dozens of variables are used that aren’t accessible by the child. It would take a long time to replace of remove them all, or to re-create the function, is there a way around this? or a way to resolve the access issues quickly?
UnrealEngine: How does the standard CharacterMovementComponent Jump Implementation work?
Just wondering how the the ACharacter::Jump() function works, I cant seem to find where the velocity is actually added in the CharacterMovmentComponent or where the bPressedJump flag is used.
What is an abstract class and how do I correct this from occurring?
I’ll declare upfront this is my first foray into coding and I’m following a tutorial to get my bearings, however attempting to Build this is throwing an error for line 16 saying “cannot instantiate abstract class.” Only the “G” in GENERATED_BODY is red-lined and I’ve tried what I can think of to address this. Any suggestions would be helpful. Here’s my window.
How fix this issue
While trying compile the c++ project in UE5.3 I get these errors
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “….EngineBinariesDotNETUnrealBuildToolUnrealBuildTool.dll” -ModuleWithSuffix=Inventory,6303 InventoryEditor Win64 Development -Project=”D:/Users/user/Documents/Unreal Projects/Inventory/Inventory.uproject” “D:/Users/user/Documents/Unreal Projects/Inventory/Inventory.uproject” -IgnoreJunk
A conflicting instance of UnrealBuildTool is already running.