C++ calling Blueprints (4.18)

So I have a few questions. I have a BP project set up and a decent ways in. I already did a health system with BP, would it be beneficial to make a C++ Class to call it or just leave it as is? I heard C++ makes the game run faster so I’m not sure if that would make any difference. Also, if yes, is there any place I could go to find out how to do it?

I watched a tutorial but the person was using an older version of UE4 and was doing it on a FPS, and I have a third person, so the code looked quite a bit different.

All answers would be greatly appreciated.

IDK its your health system. If its a massive drain on system resources then yes you should probably consider C++. However you don’t have to, and you should probably first look at how its running in Blueprints and try and figure out why its draining system resources and fix it there, before moving it over to C++. If your Blueprint Code is bad and you move it to C++ I don’t think your going to get good C++ code. If you see a way you could better optimise it in C++ then Blueprints then yes definitely you should.

However C++ doesn’'t magically give better perfomance. So if you don’t want to then don’t. C++ gives you more control over Blueprints and I feel like I do so much more in C++ then I ever will in Blueprints. But if Blueprints meet your needs then just use Blueprints. People have made entire games in Unreal Blueprints with next to no code, and they have done very well.(I saw a game a few years ago where the only thing written in C++ was a custom made volume for storing weather effects and temperature)

What I generally do is prototype the major systems in blueprints, then later shift it over to C++. I just feel I write better C++ code then I write Blueprints, but Blueprints help me visualise my code. I also create default class filed of every kind of content I want to produce and then anyone who works on my project can add new stuff at a whim.(These files are mostly just vairables with a few functions that can mostly be overridden if whoever is working in Blueprints wants to)

In short do whatever works for you. C++ will defintely offer you more choice, but if you’d rather not use C++ then don’t. If you ever catch yourself saying “I wish I could do [insert what you want todo], but Blueprints can’t handle it” then you should move to C++.

If you want to learn C++ in Unreal then please buy this course: https://www.udemy.com/unrealcourse/learn/v4/content. I found it increably helpful with understanding the basics of how the Unreal Engine worked. They also have a section to help you learn C++ as well.