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
1 answer

Question about widget landscape and portrait

I need to use my menu with image in landscape and portrat (if user turns the phone to another position) using widget. I need for landscape and portrait with different widget design, or exists other better solution (like works responsive html)?
dkr1985
  • 23
  • 2
0
votes
0 answers

Converting rotations in Unreal to achieve smooth movement

I'm trying to fix a rotation error that I'm experiencing in Unreal. I have an animated car and the wheel is going crazy as it's gaining speed. I suspect this has something to do with euler rotations. Is there a way to check this and eventually to…
Muteking
  • 1,465
  • 5
  • 18
  • 31
0
votes
0 answers

Changing/Convert from UE4 coordinates to OpenGL coorinates

I am trying to convert from UE4 coordinates (Z up) to opengl coorinates (Y up) but I cant seem to get around it. I do this Matrix transforming from X+ right, Y+ up, Z- deep to Y+ right, Z+ up, X+ deep [mat = M] 0 1 0 0 0 0 1 0 -1 0 0 0 0…
0
votes
2 answers

What should I use instead of "get player controller" to make a Multiplayer game (Top Down Game Unreal Engine)

Earlier in the day i figured out why my game doesn't work on multiplayer. The reason is that I use the "get player controller" which gives me the index 0 so i can't work. But i use this to get location where my player has to look at (for the get hit…
user14660859
0
votes
2 answers

Using nDisplay with Vive Trackers in UE4

I have a question for anyone that's been using nDisplay with vive trackers. I set up using Ben Kidd's videos on youtube with the nDisplay new project template and created this blueprint: https://blueprintue.com/blueprint/fgg1zcub/ by creating a…
obie
  • 578
  • 7
  • 23
0
votes
0 answers

My projectile doesn't well replicate on multiplayer with Unreal engine 4

I recently started to learn how to use Unreal Engine 4. I begin to well understand how it works, but I just encountered an obstacle.... The Multiplayer. So, for the moment I just made a Blueprint that can dash and throw a fireball. To test the…
user14660859
0
votes
1 answer

Unreal Engine 4, AddDynamic is not working if being called from constructor

I'm a begginer, trying to finish a simple UE4 C++ tutorial: https://www.raywenderlich.com/185-unreal-engine-4-c-tutorial#toc-anchor-001 At the point where you're additing OnActorBeginOverlap.AddDynamic(this, &ABaseCoin::OnOverlap) into ABaseCoin…
CloudKicker
  • 3
  • 1
  • 5
0
votes
1 answer

AddImpulse function with relation to player's view on Unreal Engine 4

Me and my friend are very new to UE4, and we are are trying to develop a game where your main method of movement is your gun's recoil. We are having a lot of trouble adding impulse relative to where the player shoots, since the AddImpulse function…
0
votes
0 answers

Can't seem to get GetRelativeRotation() to work in Unreal C++

According to the unreal documentation, GetRelativeRotation is a member variable of USceneComponent. However, when I run my code, it tells me that it's not. I have tried switching my Camera to a UCameraComponent(as it was originally before I checked…
0
votes
0 answers

UE4 Blueprint: Can I get a reference from an Actor, by the Client, if the Server spawns it?

Within the PlayerCharacterBP, I want to spawn an Actor by the Server like this: And get the return value (the spawned Actor) for the client. I was trying to do it in multiple ways, but the one that would make any kind of sense in my head would have…
Pwr Bttn
  • 13
  • 6
0
votes
1 answer

Unreal Engine Pawn Possession issues when using Mixed Reality UX Tools Plugin

I am having issues with attempting to start the game and possessing a pawn; But, when I enable the Mixed Reality UX Tools plugin it screws up my Player Controller. This is my simple scene: 2 Pawns I have created over a chess board I can easily set…
0
votes
1 answer

failed cast to "AIControllet type" Bluprint class

In ue4enter image description here, I've created a blueprint class from AIController and then another Blueprint class from character. However, when I try to cast my character controller into AIC_Enemy (name of the class derived by AIController) this…
Ciarfix
  • 9
  • 2
0
votes
1 answer

Trying to generate static mesh actor in UE4 level using Python Scripting

Background: I am trying to learn how to automatically generate an environment in UE4 using Python (and Blueprints). I have installed plug-in. Using UE4.25, with python 2.7 (as per python scripting plug-in). I'm not that familiar with using scripting…
Oz_Ben
  • 229
  • 2
  • 8
0
votes
2 answers

Converting a Unreal Color Code to HTML/CSS RGBA or Hexidecimal using PHP

I play a game called Ark: Survival Evolved. I have recently come across the export function in game that allows a print out of a creatures stats, including color codes. A following is an example of what is output upon…
J. Robinson
  • 931
  • 4
  • 17
  • 45
0
votes
1 answer

UE4 Open Level node not working in cooked builds

I have a widget with a button that open a level and plays a sound when clicked. The level opens well in PIE but not in cooked builds. Any thoughts?
1 2 3
99
100