Hi, I am working on a project right now and was attempting to do some swinging functionality with the cable component, however I ran into a roadblock right off the bat, as it wasnt recognizing “UCableComponent” as a type, code is included below. Thanks for the help.
header :
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = cable, meta = (AllowPrivateAccess = "true"))
class UCableComponent* tongue;
cpp:
tongue = CreateDefaultSubobject<UCableComponent>(TEXT("Tongue"));