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

2363 questions
0
votes
0 answers

Stream Audio (back ground music) for unreal engine 4

Is it possible to stream an audio (RESTApi ) in UE4 for a game, I checked the audio docs from UE4, seems like we need to drop audio files as an asset and load it accordingly, is there any possibility to stream audio from the server as a simple HTTP…
0
votes
1 answer

Unreal Engine - Separate visible mesh from physical body instance

I have an USkeletalMeshComponent. I have a need to move visible mesh separately from its physical body instance, i.e. instantly move physical body to a new location and smoothly move visible mesh to that location over time. I want to do this for…
Espeon
  • 208
  • 1
  • 11
0
votes
1 answer

Create objects in unreal engine?

I have to create object like this: UStaticMeshComponent* staticMesh = CreateDefaultSubobject(TEXT("CustomStaticMesh")); But I don't get how this works. Why do I add that angle bracket? I understand it has to do with templates…
April
  • 71
  • 1
  • 2
  • 7
0
votes
1 answer

C++ UE4 - Add child to SSscrollbox

I am trying to add dynamically a child in a SScrollBox but I get error. TSharedRef MainCanvas = SNew(SScrollBox); TSharedRef < SButton> TestButton = SNew(SButton); MainCanvas->AddChild(TestButton); //AddChild not defined It seems that…
SNos
  • 3,430
  • 5
  • 42
  • 92
0
votes
2 answers

How to fix the UClass has no member "WeaponMesh" error?

Currently I have a class for my character like so: .h #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "DarkFantasies_MainCharacter_Base.generated.h" class USpringArmComponent; class UCameraComponent; class…
0
votes
2 answers

Camera position in VR unreal engine 4.25

How to change camera position for vr project in unreal engine? I want the camera to be always in the middle of the collider camera->setWorldLocation doesn't work((( enter image description here enter image description here
0
votes
2 answers

How to access a material instance variable from a blueprint object in Unreal Engine?

I have a texture material that changes between 2 textures. This change can be controller by a variable. I've made a material instance from this material as well as a blueprint that has an object in it, to which this MI texture is applied to. I was…
Artyu
  • 19
  • 1
  • 2
  • 7
0
votes
1 answer

UE4 4.26 on mac: undefined symbols Z_Construct_UClass_UPhysicalMaterial

trying to get my project up and running on macos big sur, but I'm facing a linking error (full paste here : https://pastebin.com/raw/qt7qkjYu): [10/13] Link UE4Editor-LastRenegade.dylib Undefined symbols for architecture x86_64: …
JonathanK
  • 198
  • 1
  • 10
0
votes
3 answers

UE4 - Can't connect Unreal Live link with iPhone X Live Link Face app?

I try to connect the iPhone X app - Live Link Face with UE4 but I have a problem. I connect everything from the tutorial and from Epic docs but still have a problem. Live link subject name doesn't recognize my iPhone device. I put the IP address…
Vesko_dev
  • 356
  • 6
  • 18
0
votes
1 answer

How to convert the Do N node from blueprint to C++ in Unreal Engine?

FirstPersonCharacterBlueprint How can I convert the DoN node into C++ in Unreal Engine? I attached an image of my BP for the Double Jump feature. I try and test this BP for the Double Jump feature in my project, but my teacher asks me to do this…
Jay
  • 1
  • 1
0
votes
1 answer

Rapidly spawning / destroying actors in UE4

I have created a mirror system which rapidly spawns and destroys actors however whenever i try to spawn multiple at once and then destroy them soon after, my engine completely freezes up and i have to close it via task manager. Heres my code for…
0
votes
1 answer

How can I stop movement while airborne?

I have recently begun working on a game for a uni project and will visit this site probably a lot while encountering problems. This time it's a small but annoying problem. I am doing a 2D sidecroller so I used the template for it to get me started.…
0
votes
1 answer

Camera doesn't capture anythin in AirSim

in my code i have the following line imgs = client.simGetImages([ airsim.ImageRequest("0", airsim.ImageType.Scene, False, False)], vehicle_name = name) imgs doesn't contain anything. Do we need to enable some camera in AirSim ? I am…
0
votes
1 answer

Unreal engine android game uploaded to google play, some people get this error

I uploaded a game to google play, and some people keep getting this crash. I can't understand where is the problem. If someone has a solution, please tell me java.lang.IllegalStateException: at com.google.android.gms.internal.zzlx.a (Unknown…
0
votes
1 answer

Trying to make a button in Unreal Engine affect all levels

I'm working on a Pong-like game and I'm having difficulty with getting the button in the PaddleColors widget to affect all levels. (Menu, 1vAI, 1v1Game, 2v2Game) For a button example: I set up the blueprint so that when I click the Green button in…
1 2 3
99
100