Questions tagged [unreal-engine4]

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/.

Unreal Engine 4 is a game engine created by Epic Games.

Gameplay and engine programming is done in C++ and Blueprints.

Resources

1850 questions
4
votes
1 answer

How to enable C++17 mode with UnrealEngine 4.19 on VS 2017?

UnrealEngine 4.19 uses Visual Studio 2017's C++14 mode as default. The Visual Studio 2017 compiler has a flag /std:c++17 to enable C++17 and subsequently things like for std::optional. I tried adding the following line to VCToolChain.cs…
Ela782
  • 4,543
  • 5
  • 46
  • 61
4
votes
0 answers

Image rendered differently for each eye (UE4 + VXGI + VR)

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…
4
votes
0 answers

How to display a point cloud in Unreal Engine?

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…
Michael Geary
  • 26,814
  • 8
  • 56
  • 71
4
votes
1 answer

Xcode fails to build unreal engine 4 project

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,…
Dimitre Bogdanov
  • 355
  • 1
  • 3
  • 15
4
votes
1 answer

Websockets on Unreal Engine 4?

I am getting started with Unreal Engine 4. I come from Libgdx and I am familiarized using WebSockets clients in my games and NodeJS with 'ws' on the server. How ever, I can't find information about Websockets and Unreal Engine 4. I know that given…
chelo_c
  • 1,501
  • 2
  • 19
  • 29
4
votes
1 answer

Bind buffers to Unreal Engine 4 Customized Compute Shader

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…
NULLPTR
  • 183
  • 1
  • 10
4
votes
1 answer

UE4 - Object has reflection - why to use C++ then?

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…
Narek
  • 35,407
  • 69
  • 202
  • 359
4
votes
3 answers

Unreal Engine or Unity for moddable games

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…
user2180833
  • 138
  • 2
  • 10
4
votes
1 answer

How to create a custom c++ class to use with blueprint

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…
4
votes
1 answer

Steamworks checking if a user is logged in

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…
David
  • 21,070
  • 7
  • 57
  • 113
4
votes
1 answer

How to add OnClicked event for StaticMeshComponent in ure4.7?

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…
manokar
  • 87
  • 2
  • 9
4
votes
1 answer

Pan - zoom - orbit using Multi Touch - Unreal Engine -

I would like to make a multi touch control for my camera This camera should do: zoom in/out when pinching orbit when swiping pan when swiping with 2 fingers. Is there somebody who know some good examples/tutorials or give me some advice? Thank you…
ddonk
  • 43
  • 1
  • 6
4
votes
2 answers

Error including header files in Unreal

I am new to Unreal and I have this project in Unreal. I added a couple of new cpp files which includes some standard header files like string.h, stdlib etc. Intellisense does not give an error but project just won't compile. This is the error Error…
Aadithya
  • 179
  • 1
  • 4
  • 18
4
votes
1 answer

How can I use Java in Unreal Engine 4

How can I develop in Java and still use Unreal Engine 4? Do you have to use a wrapper (I have heard something about this), do I have to modify the source code that comes with purchase or is there a plugin out there that I can…
evan
  • 51
  • 1
  • 11
4
votes
3 answers

Visual Scripting vs Coding

Happy Thanksgiving, First of All, I have been searching to know if Visual Scripting is a new thing that have been made for game engines. Let me show you some example of visual Scripting the other thing is just regular coding like writing c++ code…
user2924427