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 sample VueJS(frontend) application and Unreal Project.
I have uploaded the Unreal Project to https://console.pureweb.io/, after that I can't find the documentation about connectivity the Pureweb to VueJS application for share Unreal Project…
So i have been trying to learn unrealengine4 and wanted to use vim as my editor.
As an autocompletion engine i wanted to use CoC with clangd.
After some fiddling around to get my compile_commands.json almost everything works as expected.
But i get…
I am making a settings menu for my game. I have created every graphics setting I want, except changing the screen resolution. This is what I tried first. I didn't know what I should provide for the target, though.
What I tried first
For some…
I made a simple pawn class that's supposed to be a ball and move around and collect coins. For the coin collection system I made the on overlap event to notify the ball when it is hit. Here is the basic code (APlayerBall is the default pawn class…
I'm working on a project for a startup company. We are trying to run a 3D product demo on our website using Pixel Streaming. I'm hosting the application and the signaling server from a dedicated machine inside the office. I have gotten Pixel…
I started a c++ project in UE4.25 days ago, and started prototyping in blueprints.
Now I wanted to start and take my logic to c++.
Problem: As soon as I created a new Actor from the Editor (right-click -> new c++), the new file generated thousands…
I'd like to store a variable of type Actor in a variable which is of a BP interface type.
Is there something like a Cast To BP Interface BP node? I know about the Does Implement Interface (which does not return a reference to the interface instance)…
whenever i create a unreal engine 4 c++ project it throw this error
Running E:/program_files/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Game Development/MyProject2/MyProject2.uproject" -game -rocket…
I'm currently learning game development with c++ in Unreal Engine and I came across the function that takes a function pointer as an input:
InputHandle->BindAction("Grab",IE_Pressed, this, &UGrabber::Grab);
From basic C++ I know that in passing a…
I'm making a laser tag game in UE4 and I'm having a ton of difficulty using TSubclassOf<>.
First, I'm declaring LaserClass in my LaserTagCharacter.h file like this. I'm also creating a function called OnFire() that's called when the player uses the…
I have an Editor Widget and inside of it I created a blueprint for some button click event.
Unfortunately, when I use the "Get game state" node (or any similar), it always returns null.
I understand that it's correct while I don't hit Play in Editor…
I wrote a plugin for UE4 for matching and spawning Static Mesh Actors into the level of UE4.
The plugin reads coordinates from a text file (Scale,Rotation,Transformation) which are exported from Softimage XSI per script. Everything works already.…
Scenario
Given a normalised quaternion, A_q, and a normalised direction vector, B_v, we calculate a new rotation, C_q, that will rotate A_q to "face" in the direction of B_v. To clarify, let D_q = C_q * A_q, such that (1,0,0) rotated by D_q will be…
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…
I have an issue with using STL features with my UE4 project.
Intellisense is showing an error with its red line and isn't understanding what I'm attempting to write.
I use VS 2017 and have also downloaded the Unreal development settings.
I've…