Unreal Engine 4 is a game engine created by Epic Games. Use this tag for programming related questions. For non-programming related questions, use https://gamedev.stackexchange.com/.
I have a question about event dispatchers. I've created dispatcher in my code like this:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSoundPausedDelegate, bool, isSoundPaused);
UPROPERTY(BlueprintAssignable)
FSoundPausedDelegate…
Project:
I have a scene in Unreal Engine which is using VXGI for the global illumination of the space. The scene is well optimized and I have good FPS (>90fps). The scene includes a movable direct light (sun) which is making the transition…
I am trying to access pixel data and save images from an in-game camera to disk. Initially, the simple approach was to use a render target and subsequently RenderTarget->ReadPixels(), but as the native implementation of ReadPixels() contains a call…
I'm extremely new to UE, and doing a few easy tutorials to get started, so I don't exactly know the correct terminology to use to help me find what I am looking for... Anyway, whenever I hit play and the game starts, my mouse disappears and I am…
Let's take a proxy problem - You're looking at some 3D scene. Now I replace the scene with its rendering done from your eyes position, so you don't see any difference. Then I replace the rendered image with a wall and projector. What I need is an…
I'm attempting to display a point cloud in Unreal Engine using the technique described in this UE4 forum post.
I think I followed the description, but I'm not getting any points displayed. The code¹²³⁴ is here. Any ideas on what I got wrong would be…
So I'm trying to make a game using Unreal Engine 4 but I'm running into some issues.
Up until now I've been working on the Unreal Engine Editor only and it's been working just fine but when I started creating C++ classes and using Xcode as well,…
I am working on a project based on Unreal Engine 4 where I need to implement a customized directx11 compute shader. I am following this tutorial:Unreal HLSL Tutorial to write a customized compute shader in Unreal Engine for my project.
I used the…
I was trying to find some examples or documentation as for how to implement functionality using the Unreal 4 ProceduralMeshComponents through code. The documentation of these classes on the website is very sparse and only provides the barest details…
I have always thought that UE is faster than Unity as UE uses C++ and Unity C#. C++'s philosophy seems to be broken here, which is you pay for the things you use. Now reflection and garbage collection is added. So why should UE4 be faster if they…
Now I have searched around a bit and can't really find a conclusive answer regarding games made by either Unity or Unreal Engine to support moddings.
By mods I mean scripting, characters, maps etc. - similar to CS
What I have read is it is rather a…
I am trying to create a custom class that i can then use in my blueprints. I need this class to hold player information like name and a path to their picture. What I have made so far doesn't compile or build without errors and I don't know how to…
I have been following the Steam documentation to a t, but I have gotten to the point where I need to retrieve player names based on the steam ID, and Steam has a function for this in their documentation:
const char *pchName =…
So the code that I've been using to get a user's Steam ID is:
CSteamID uid = SteamUser()->GetSteamID();
uint64 pid = uid.ConvertToUint64();
std::ostringstream sin;
sin << pid;
std::string s = sin.str();
return s.c_str();
This works just fine, but…
Hej, I've been trying to click on StaticMeshComponent during Run-time, but not able to click on particular StaticMeshComponent. I've tried the below logic to click and set the material inside OnClick() Function, but not able succeed. Is AddDynamic…