Unreal Engine City Building Game - Placing buildings in Game (At Runtime) - EP 4

  Рет қаралды 37,560

The Game Dev Channel

The Game Dev Channel

Күн бұрын

Пікірлер: 146
@baguetteDuGame
@baguetteDuGame 3 жыл бұрын
I don't know about everyone, but for me this is a great tutorial. It's actually going at the right pace for me. The only thing I would suggest is not to go slowly, but instead of doing all the logic in the BP and then showing the result. It would be to show why you add the logic in the play mode. On several occasions, you say, we need to reference to this or that because it will cause problems there. It would be good to actually show what problem it would cause and then improve the logic. This would make the algorithms less heavy as we really understand the reason behind each node.
3 жыл бұрын
For those following along it does not feel slow at all... to answer your question at 17:05
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Thanks for the input! It's tough to get the right balance (And thanks for sticking with the video for that long haha)
@exx2xxo
@exx2xxo 3 жыл бұрын
Commenting for your Question at 17:05 -> Your pace is absolute on point, the amount of informations I gather with your help is amazing and you actually answered more questions than I initially had. Therefor I subscribed and I'm gonna watch the rest of your videos now! Thanks for your time :)
@josephwilliampeirson5111
@josephwilliampeirson5111 Жыл бұрын
If anyone is having an issue that I had (21:19) where the mouse raycast wouldn't line up correctly in UE 5.1 i changed the ConvertMouseLocationToWorldSpace to Get Hit Result Under Mouse Cursor By Channel. Change the channel to landscape and split the out and just use the Blocking Hit and Hit Location from there instead of the trace channel
@fernandobraz966
@fernandobraz966 Жыл бұрын
life saver
@TheVideogametr
@TheVideogametr 3 ай бұрын
Joseph thanks for the info!
@Megosks
@Megosks 3 ай бұрын
The GOAT!
@wilfred8391
@wilfred8391 3 ай бұрын
i love it, here and there a bit more explaining would have been nice but for someone who was new at this you did an awesome job so far. I want to make a management style game so i wont be able to use everything in here but so far these parts really help. nicely done. Also most parts still work great even in the latest Unreal version
@kriswintf2027
@kriswintf2027 Жыл бұрын
Finally I found this tutorial, and it is the onlyone tutotrial for RTS place building.😀
@user-lj1qw5hv7l
@user-lj1qw5hv7l 3 жыл бұрын
If you cant see your asset on your cursor when Playing, make sure the ladnscape mesh or block or w/e it is for the ground is properly set to the right Collision in the world, you can see it in the first few minutes, I spent an hour trying to figure out what went wrong. ALSO: Those in UE5 when using the mulitply 21:50 You can rightclick and convert the Mulitply to a Float.
@angelikap8775
@angelikap8775 3 жыл бұрын
Hey, how can I fix it? I didn't see asset on cursor...I don't know how to set right Collision in the world :/
@royalpinkgames2515
@royalpinkgames2515 3 жыл бұрын
@@angelikap8775 this is at @3:00 in the video where it fix that.
@sanbait
@sanbait 2 жыл бұрын
not help(
@dotnet14214
@dotnet14214 11 ай бұрын
Thx, i tried to fix spawning but this was causing the error instead
@whispi-chan894
@whispi-chan894 7 ай бұрын
@@royalpinkgames2515 waaaaa i miss that part xD after 2 years ive tryied to make that and i didnt saw my asset xD but thx to your point here... Thx it helps alot
@donnyjoe7653
@donnyjoe7653 3 жыл бұрын
This is an amazing tutorial! Thanks a lot! I agree the pace is on point. However, I think a video should not be longer than this one. I was pretty surprised it actually worked at the end. Maybe wrapping logical units into BP-comments and giving a short summary would be great. Anyways thanks and keep on doing the great work. :)
@samdev9708
@samdev9708 3 жыл бұрын
Excellent tutorial and thank you again, I watched it 3 times to really understand but it's because I'm a beginner :)
@Berimus
@Berimus 5 ай бұрын
For anyone on 5.4 struggling with the ploppable asset following the mouse on screen! I struggled with the object following the mouse for hours and re-watched multiple times until I finally figured it out!! Unreal 5.4 comes with a default landscape that contains several different instances. Approximately 64 proxy's. I for the life of me could not figure out why, even with everything matching and everything else working, the ploppable asset would not follow my cursor. I even made sure the main landscape object had collisions set correctly. Each proxy needed to have the settings adjusted! Click the first proxy, "LandscapeStreamingProxy_0_0_0" hold shift and click the last on ending in "_7_7_0" and set the collision settings to the same in the video, save and it worked!! Hopefully this finds others that were facing the same problem and helps them!
@StratejiNet
@StratejiNet 3 ай бұрын
I did your solution but i cant fix that. I set every landscape collision. But something is wrong bro. I spend hours for this :(
@dailyuser6960
@dailyuser6960 2 ай бұрын
click on the floor, set collision to custom, and toggle the landscape option to ignore then back to block. worked for me then
@johnmccarrick3123
@johnmccarrick3123 2 жыл бұрын
I rewatched this video 8 times or more... I followed your instructions exactly. Or so I thought. I spent the last 2 and a half hours trying to figure out why my building wasn't spawning... I was a single 0 off on my float (1000 instead of 10000). There has to be an overlap between programmers and alcoholics because of shit like this. Thank you for the tutorial, it was very good and clear, I'm getting a drink now.
@royalpinkgames2515
@royalpinkgames2515 3 жыл бұрын
@The Game Dev Channel Great tutorials, please never stop doing tutorials !
@BOTS31
@BOTS31 Жыл бұрын
For the poeople who have their placeable jitter when playing, check if the line trace at 22:10 has the correct channel, it should be the landscapes channel you created.
@therealbugzi5670
@therealbugzi5670 2 жыл бұрын
At 10:15 when trying to connect "For Each Loop" to "SetMaterial" I get an error saying it's not compatible. The only way I was able to do it is by using "Cast To PrimitiveComponent" connect "For Each Loop" to the object and then the cast to "SetMaterial" No idea how bad it will turn but why do I have to make it this way?
@nathanobsidian
@nathanobsidian 2 жыл бұрын
Hey, you need to first set up Static Mesh Component class in the Get Components by Class, then you take the outpin and make a For Each Loop. In this order the for loop will make an array of static mesh. If you first link Get Components by Class the For Loop will take an Actor Components Array and will never change with your Component Classe Selection.
@jared875
@jared875 Жыл бұрын
@@nathanobsidian Thank you
@hansknut2284
@hansknut2284 3 жыл бұрын
Awesome Videos, can't wait for more in the series!
@MaxwellTechMedia
@MaxwellTechMedia 2 жыл бұрын
Comment about your pace 17:05 I think it is perfect pace. Thanks for all your effort
@julianaskuratovsky8701
@julianaskuratovsky8701 Жыл бұрын
The tempo is great, the tutorial is awesome thank you very much!!!
@ibnakhal
@ibnakhal 4 ай бұрын
Quick tip for the Branches, if often what you're doing is the same thing just to a different asset based on the boolean, you can feed it through a 'Select' node and save yourself half the blueprint space.
@xSchallerx
@xSchallerx 2 жыл бұрын
Hopefully this saves someone the troubleshooting headache I just had. Got to the end, all looked good, but when I ran it, there was no placeable building in sight. Turns out when building my starting environment in UE5, I had just put down a primitive cube for the floor, when I actually needed it to be an actor in order for the collision detection to run properly.
@alessandrocreanza2641
@alessandrocreanza2641 6 ай бұрын
I've watched the next videos about the grid placement and I began wondering something from that. Doesn't it make more sense if you bind a begin mouse hover event to the grid cell spawned by the grid manager and pass its center location to the controller so that you don't have to tick where to place the building? I'm probably missing something, maybe some part of the code wouldn't work, but I'm curious because I'm self conscious about optimization.
@ДенисКолчев-щ4с
@ДенисКолчев-щ4с Жыл бұрын
22:16 For those who's stupid like me, you should right click on the coordionate numbers of this block and you'll see another manu 'Pin Convertation' and choose 'to float'. If you click on another area of the block, this pannel won't appear. Click on coordionates! I use UE 5.2
@lorentzstrachan6246
@lorentzstrachan6246 3 жыл бұрын
Love your work mate. I'm not gonna pretend to know what most of all this means but I like it. Having a good time following along. Been doing a bunch of tutorials for blueprints and feel like i've made the most progress with your channel so far(not that i've made any progress really haha). I plan to, at some point, try and convert all this into a Tower Defense game. Looking forward to the videos to come. Thanks man.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Thank you so much for the feedback and support! If you would like me to cover anything in particular that would help with that let me know!
@royalpinkgames2515
@royalpinkgames2515 3 жыл бұрын
@@thegamedevchannel3063 would really like if you have a Discord channel and make a lot more tutorials, you are very good to explain !
@Dfulps
@Dfulps 26 күн бұрын
If you cant get the actor to spawn. At 25:24 instead of dropping the get placable actor type variable. Use the Set PlaceableActorType and choose the Actor your using. At 17:00 you didnt give it a default value
@adelbenhamida6188
@adelbenhamida6188 2 жыл бұрын
At first it wasnt working then while reviewing the bluprints i checked a little box just to try and now it works perfectly thaksssss
@thenotsoepicgamer5050
@thenotsoepicgamer5050 5 ай бұрын
for some reason i cant get the ConvertMouseLocationToWorldSpace 20:50
@ev3rlast
@ev3rlast Жыл бұрын
Hi Game Dev, thank you very much for doing this tutorial series! I'm new to UE Blueprints and developing my own game. I've been trying to find a good tutorial showing how to place and minipulate objects in a game by the player and this was so insightful. I figured I'd ask this question and it's pretty much probably common sense you're teaching, but I was wondering if I could use some of your blueprints created in this video in my own commerical game? Again, most likely since you're sharing this knowledge you figured it would be used for that, but wanted to just ask. :)
@geniuspancake8274
@geniuspancake8274 3 жыл бұрын
Saw your title and decided to implement building placement without watching the video first. Mine is so much different then yours (I didn't really plan it, just decided to do it of the top of my head for fun, it's terrible but works). Since I didn't want to bother with PlayerController, components or anything else, I placed everything in Pawn (movement, rotation, mouse click). Was to lazy to do it proper. 1) I kind of overcomplicated things with LandPlatform_BP (where buildings are placed) since I wanted it to be scalable, and movable, and have square cells on the grid. The cell is fixed (50) and it calculates number of cells by doing width % cell_size and height % cell_size to see if there is a remainder and if there is starting cell position is moved depending on the remainder. Most of this is done on begin play. I will say, blueprints suck when math is involved, way to slow and laggy (but my methods where really bad, didn't even try to optimize them). 2) My cells are array of arrays (had to create array of structs, where structs represent rows, and inside each struct there is array of 2d points, which represent cols). There is also string cell_name, bool is_placable, actor (if there are objects that are placed on begin play...can be randomized object or directly placed by left mouse button). Blueprints not supporting array of arrays is so bad, didn't know until I wanted to create it. 3) Building placement is done by simply getting mouse world coordinates and passing them on line trace by channel (literally like yours). Every time I click left mouse button line trace is shoot and it checks if hit object is my LandPlatform and if there is anything placed on the cell_struct [i] [y]. If both checks pass, place building, if either fails, don't place anything. Type of buildings can be controlled by enum (???). 4) On mouse click, mouse placement in the world is looked at and compared to the center of each cell to look for closest center of the cell, on that grid, to place an object. This method is terrible, didn't want to check mouse placement on every tick since there might be 1600+ cells and it would suck to do every tick (there might be a way to limit the number of cells that are looked at, but was lazy to think of that solution). You did it so much different, that's what made it really fun. Didn't know you could setup custom collision options as macros, that was really cool to learn. Will definitely see how you do the whole process, since the next project I want to do is small X-Com style game (although, using c++ and bp's), for my portfolio. So this is giving me some nice ideas. Thanks for the guide! Best of luck! :)
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Ah very nice! It's programming so there's no one correct answer :) Even though we've done it very differently I'm glad it was still useful to you! Thanks so much for the feedback and support!
@BreadboxGaming1
@BreadboxGaming1 2 жыл бұрын
i know it is pretty late for asking Questions, but i got an issue, where my Mouse/Buildings Snaps to the far bottom Grid if i place my mouse around the center of my Screen. Everything else works fine, it only snaps werid if my mouse is in the Center of the screen. Any ideas on how to fix that? thank you alot!
@decorix
@decorix 2 жыл бұрын
Hi and thanks so much. I'm wondering where would you add the sound like when MouseHover and MouseClicked/ for example? Is that in the BP_actor you made or in the Component it self? I'm not sure in which direction I should inplement this.
@TROYSOLLY
@TROYSOLLY 10 ай бұрын
fantastic sir, thank you for the video.
@thomassugg7631
@thomassugg7631 3 жыл бұрын
Trying to apply this great tutorial to a current project I have. I got some trigger boxes that just give an identification to my HUD for the building my pawn is in. They are actually causing the building object to not be ploppable. In the world. When I remove them from the scene, the building objects can be placed just fine. How would you recommend ignoring these trigger boxes?
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
This will be to do with the collision masks you have on your trigger boxes, you could set the trigger boxes to ignore buildings and it should work!
@BastoBullfrogW
@BastoBullfrogW 2 жыл бұрын
Info for UE5 Users (because on blank example project you always have a landscape-landscape): On this point you have to add a cube > go to collisions > block them all. Its looks like the trace dont regnoize the landscape itself. BUT you can imagine, this is the way how you define "building areas" if you put the cube/floor under the real landscape. (turn off render ingame =) )
@elizabethlaplume2267
@elizabethlaplume2267 Жыл бұрын
So I can plop all my buildings but the building does not follow my mouse all over the map. It wont go past a certain point left or right. How can I fix this?
@puffdragon23
@puffdragon23 2 жыл бұрын
To anyone who may have the same issues I did, in the newest version of unreal at least, the "is valid" checks simply don't work. I tried running print strings from both the true and false nodes and nothing happens, but removing the is valid checks from the equation fixes everything. Hope this helps.
@Sparrow_of_Attrition
@Sparrow_of_Attrition Жыл бұрын
21:31 At this time stamp, I had to change it to Camera instead of Landscape for it to work. (I did this because of a comment below) I am using UE5 5.1.1 @thegamedevchannel3063 - Can you explain why this alteration may have happened? I am glad it works, but I do not understand why. - Thank you in advance if you reply to this.
@shodnya_racing4607
@shodnya_racing4607 10 ай бұрын
thank you bro, if it weren’t for your comment, I would have gone crazy, because I couldn’t understand what was going on for two hours
@lollol-zg1rf
@lollol-zg1rf Жыл бұрын
I can see the "object preview" following my cursor but i cant place it when i click the mouse button :/
@happygardenmci7103
@happygardenmci7103 2 жыл бұрын
hi..Is it possible to do in game building such as Simcity but in 3d when we can enter the building like GTA? Thx for answer
@supermariogolden6444
@supermariogolden6444 3 жыл бұрын
This tutorial helped a lot thank you very much
@waterkoyje
@waterkoyje 7 ай бұрын
followed the tutorial. not sure what I did wrong. "Accessed None trying to read property PlaceableActor". Would've been great if there was a once over, showing the finished blueprint files.
@duceskoriny
@duceskoriny 7 ай бұрын
bump
@duceskoriny
@duceskoriny 7 ай бұрын
In "Update Placement" and "Spawn Building" functions I have added "Is Valid" checking for each variable "Placeable Actor" call. This put an end to the errors, but the object still does not appear. I continue to experiment
@duceskoriny
@duceskoriny 7 ай бұрын
at 26:13 uncheck True from calling "Set Placement Mode Enabled" and you will be happy
@wilfred8391
@wilfred8391 3 ай бұрын
I went through it again but now im struggling, for some reason the debugging states it adds the plopable component to the actor however when i then press my left mouse it states the actor does not have plopable and i dont know what is going wrong. update: it's fixed, i dont know why or how but deleting the building asset i still had in my world solved it. now i can place them no problem
@MrBorgcube
@MrBorgcube Жыл бұрын
Being a little late to the party, but I've been trying to filter for more than one class during the IsPlacementValid check within the UpdateState funcion/Ploppable Component. Neither an OR boolean, nor an array as variable for the class filter seem to work. Anyone got any ideas?
@bananaknight8187
@bananaknight8187 2 жыл бұрын
great tutorial!! keep up the good work
@MattsDT
@MattsDT 2 жыл бұрын
My actor appears but it doesnt spawn. Also materials dont change. I checked and did everything as listed. The only thing i didnt do is the new collissionpreset setup at the beggining (i did the landscape). What am i doing wrong?
@pierrefauno5309
@pierrefauno5309 3 жыл бұрын
Very nice serie, I leard a lot of things
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Really glad I could help!
@Enderking394
@Enderking394 Жыл бұрын
How do I make this snap to a grid?
@angelikap8775
@angelikap8775 3 жыл бұрын
Hi! I have problem with actor "Placeable Actor". So i have error "Accesed none trying to read property PlaceableActor. ". It is caused in Spawn Buildings - Is Valid - Branch. Someone can help?
@royalpinkgames2515
@royalpinkgames2515 3 жыл бұрын
I got this error from checking the boolean instead of calling the function on Begin Play. It remove the error but the item do not show like its empty.
@royalpinkgames2515
@royalpinkgames2515 3 жыл бұрын
@@anhemsedevil2 you need to set your landscape to blocking from landscape. It's because he is using a polygon and we are all using a landscape :)
@_trashcode
@_trashcode 3 жыл бұрын
anybody found a solution on this problem? where does the information for the actor come from?
@brianyu7847
@brianyu7847 3 жыл бұрын
Same here :(
@MadMax-mw3og
@MadMax-mw3og 3 жыл бұрын
Love your vids man, gonna comment here aswell since deadline for my project is coming up, Would your Grid/placement code here work for a Hex-grid? if not, could it be made to work or do i need to re-do it?
@b3rk15
@b3rk15 3 жыл бұрын
I watched it twice and when i press play and hover my mouse over the landscape i can't see the cube can someone help me?
@b3rk15
@b3rk15 3 жыл бұрын
Okay I did it. My solution : I clicked the floor and i saw collision presets like this : preset is custom and the block column is ✓ for each one. So i decided to remove the landscape "block" to "ignore" and then i ✓ the "block" again and its fixed LMAO.
@dejanpopovic7903
@dejanpopovic7903 10 ай бұрын
This worked for me! How the heck did you figure that one out? Surely this a bug in Unreal Editor? I'm using version 5.2.1
@b3rk15
@b3rk15 10 ай бұрын
@@dejanpopovic7903 I really don't remember it was two years ago but always try to change some setting so you might end up with a correct one 😅
@shaon1412
@shaon1412 3 жыл бұрын
Hey dude, which version of unreal did you use in this tutorial series?
@lukasvasina1
@lukasvasina1 2 жыл бұрын
Hi i have a problem even though i copied this tutorial and still checked it , for some reason it won't switch my materials or switch the mode to off
@blakewhite5007
@blakewhite5007 9 ай бұрын
I am hoping people still read and respond to these comments as I'm experiencing an issue with this and would like some help - The building does follow my mouse around, however doesn't change colour when hovered over another building and wont let me click to place it down either - I've watched this video about 4 times, spent about 2.5 hrs trying to resolve this error I have made but cant see where I went wrong
@Punchmememe
@Punchmememe 3 ай бұрын
I have the same issue, But i am not sure wat it is, But i am certaint it has to do something with collission. I have to changed allot to get the cube tracing my mouse. And Landscape does not work for me i had to trace my camera in order to work, But it can also be an update cycle. I am not sure yet. I hope i can find it out and maybe some one else. Did you ?
@Punchmememe
@Punchmememe 3 ай бұрын
I have found the problem for the collour not working!!! Many people would have seen this over. Go back to CB_PloppableComponent, Go to the section Lenght -- is == to 0, That == go's to ( Isplacement valid) AND (Branch) if not connected to both the collour update for the "Not allowed to build" Will not work! Make sure the Lenght -> == 0 Go's to Is placement valid &&&&& The Branch.
@waterkoyje
@waterkoyje 3 жыл бұрын
Couple of Questions: 1. In CB_PloppableComponent the Update state, I need to cast the Array Element First to a StaticMeshComponent before using it. Although I have in "GetComponentsByClass" the Static Mesh Component, am I doing something wrong? 2. Also in CB_PloppableComponent we "Get Overlapping Actors" with Class Filter "Actor". Isn't the ground also an actor? At least in your version it looked like one with a static mesh actor and not geometry. I solved it for now by changing the Class Filter to "CB_BuildingAsset".
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
1. No that's as expected, it will always return as a base Component class I think so the cast is necessary 2. Yes the ground is also an actor. I think this might be because my buildings are completely above 0 in the Z direction so will never overlap. If your building is centred on the middle of the box then it will spawn half in the ground and be overlapping Hope that helps!
@whispi-chan894
@whispi-chan894 7 ай бұрын
Hey, i know its been a while, but i have a small problem:< im working on ue5. My problem is: I can spawn building, it appears under my cursor and everything is ok... except that it cant read collisions for other buildings, like i can place them wherever i want, even inside other building :< idk what to change.
@whispi-chan894
@whispi-chan894 7 ай бұрын
Ok nvm, got it... If some1 (after these years) got the same problem... just add Collision box to your blueprint actor with mesh
@masskhan9087
@masskhan9087 6 ай бұрын
@@whispi-chan894 hi i am still not able to make the building visible, when i run it does not show anything at my cursor
@whispi-chan894
@whispi-chan894 6 ай бұрын
@@masskhan9087 but you have block under the cursor right?
@masskhan9087
@masskhan9087 6 ай бұрын
@@whispi-chan894 no nothing is appearing
@masskhan9087
@masskhan9087 6 ай бұрын
i am using unreal 5.2
@DivaNove
@DivaNove Жыл бұрын
my buildng doesnt turn red when overlapping, and the green building is being able to plop on top of another. does anyone know how this could have happened? im on my third rewatch.
@elizabethlaplume2267
@elizabethlaplume2267 Жыл бұрын
In clickable components, do you have two set material with one set to red and one set to green?
@prnzlsr
@prnzlsr Жыл бұрын
​@@elizabethlaplume2267 I happen to have the same issue as the OG comment. Set the materials and did some troubleshooting/basic debugging. It appears the overlap simply doesn't register. On CB_PloppableComponent the signal after the Get Overlapping Actors remains 0 even when it overlaps with another building.
@prnzlsr
@prnzlsr Жыл бұрын
Had the same issue, here is what caused it: The building I was spawning did not have a Collision Box. I went back and added that to the Actor and now it works.
@CelestialWolf7
@CelestialWolf7 8 ай бұрын
@@prnzlsr Heya I'm having a bit of trouble on this part but could you explain on adding a collision box to the actor? Because I feel I did that correctly but I'm still having issues with getting the building to turn red when overlapping.
@Berimus
@Berimus 5 ай бұрын
@@CelestialWolf7 I know its been a couple months but I had the same issue and got it to work. For anyone else scrolling through the comments looking for a solution: In the Viewport for the object you need to add a collision box to, click "Add" in top left corner and search "Box Collision. Just scale it to the approximate size of the object and Compile and Save. Should fix that issue.
@sanbait
@sanbait 2 жыл бұрын
why not work Spawn??
@gamermaddox8433
@gamermaddox8433 3 жыл бұрын
hey i have a question when i play start i cant do anything im floating down can you help me
@masskhan9087
@masskhan9087 6 ай бұрын
use player start :)
@ДенисКолчев-щ4с
@ДенисКолчев-щ4с Жыл бұрын
'Set actor location' causes an error, by the while, Idk why
@owenvideos1439
@owenvideos1439 3 жыл бұрын
I followed all the tutorials so far but when I run it it’s red and I can’t place it for some reason. Any tips?
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Is there already an object where you're trying to place yours?
@chrisbauer6162
@chrisbauer6162 Жыл бұрын
If anyone else is also having trouble with no cube at the cursor location make sure not to miss @17:21 when you attach the Object to the Ploppable Script
@MohamedSamy-vp2pq
@MohamedSamy-vp2pq 3 жыл бұрын
i hop if u add gui drag and drop in place building (with building delete feature)
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
That will be on a future episode :)
@MohamedSamy-vp2pq
@MohamedSamy-vp2pq 3 жыл бұрын
@@thegamedevchannel3063 thank u so much
@ThiriHlyan
@ThiriHlyan 9 ай бұрын
@@thegamedevchannel3063 please teach me overlapping delete features
@harshatverma2480
@harshatverma2480 2 жыл бұрын
I'm having an issue where when I press play, I get the cube and I am able to move it around with my mouse button, but I am not able to place it on the floor. Any idea what I'm doing wrong? Additionally, thank you so much game dev for this amazing series! It is so extremely helpful!!
@joachim2464
@joachim2464 2 жыл бұрын
I have the same problem
@lollol-zg1rf
@lollol-zg1rf Жыл бұрын
Hey! I have the same problem, do you remember the solution? if you ever found one ^^
@igorek242424
@igorek242424 3 ай бұрын
(RU) Для тех кто на UE5. И есть проблемы с привязкой бокса к мышке. Проблема в коллизии. 22:00 Для функции LineTraceByChannel / Trace Channel из списка установить Camera. Мне это помогло. //Ps. Я только начинаю изучать UE, если кто из профессионалов подскажет более правильное решение это многим поможет.
@joachim2464
@joachim2464 2 жыл бұрын
Something is wrong with the is valid nodes in unreal engine 5. Bypassed them and then it works
@masskhan9087
@masskhan9087 6 ай бұрын
how do you bypass them ?
@DivaNove
@DivaNove Жыл бұрын
this guy isnt turning red !!! no idea where i went wrong. still ploppable while overlapping and not turning red when overlapping. help lol
@Faolon
@Faolon 9 ай бұрын
did you get it figured out?
@DivaNove
@DivaNove 9 ай бұрын
@@Faolon nope. Ill try again soon
@Faolon
@Faolon 9 ай бұрын
@@DivaNove I fixed it, 1, I needed a hitbox on the object, 2, I added a delay till next tick in the update logic, one between the overlapstatuschanged and update state, the other between bind event to on actor overlap end and update state.
@DivaNove
@DivaNove 9 ай бұрын
@@Faolon ill see if it works. But i restarted a new project. Ill see when i get to that point
@YatharthThakkar
@YatharthThakkar 2 жыл бұрын
If you are unable place your building check 3:14 this is very import! wasted 3 hours for figuring out this. get actor cube instead of primitive cube for floor and keep landscape collusion block then only it will work no matter if you have followed step by step.
@kingskye7110
@kingskye7110 3 жыл бұрын
wow it is cool for me
@MrJeffje1982
@MrJeffje1982 2 жыл бұрын
Love the tutorial, but need to make an adjustment for it if you are using UE5. I don't know if it's the particulkar engine but when you place the branch to spawn actor you need to place it from thge false of the branch not true otherwise you get no placements. Thank you a lot for these tutorials i do learn a lot from it!
@balsjenza
@balsjenza 3 жыл бұрын
It would be nice if there's a mobile version of this. I'm struggling translating ot for mobile. I am not a programmer. Hehe
@poplopop
@poplopop Жыл бұрын
If you have some errors - just vatch video again) Works for me
@DivaNove
@DivaNove Жыл бұрын
which issues did you have?
@poplopop
@poplopop Жыл бұрын
@@DivaNove something about is valid check every tick
@DivaNove
@DivaNove Жыл бұрын
@@poplopop interesting, im having trouble with material change upon overlap
@raditsyz
@raditsyz 3 жыл бұрын
Hmm it doesnt look like my floor or any other staticMeshs for that reason have the Collision presets dropdown. Anyways, great vids.
@raditsyz
@raditsyz 3 жыл бұрын
Ohhh never mind, I was clicking on the INSTANCE not the StaticMeshComponent under the details panel. Woops!
@statisticalanomalies
@statisticalanomalies 2 жыл бұрын
For those that may be trying to do this on a landscape. Check your MIP levels and ensure that Generate Overlap Events under collision settings is checked. Otherwise it wont work...
@statisticalanomalies
@statisticalanomalies 2 жыл бұрын
One comment more for those doing this on landscape. When you run the "Update Status" function in the tutorial, you will need to change the length check from 0 to 1 as you will always collide with the landscape and you can't turn that off.
@RashmikaMB
@RashmikaMB 3 жыл бұрын
can you do a series for beginners who new to unreal :D
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
What kind of series? Just running over some basics?
@RashmikaMB
@RashmikaMB 3 жыл бұрын
@@thegamedevchannel3063 yes.. If you can.. Like basic to advance 🙂
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
I'll definitely think about it!
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
@Gordon Smith Thank you! Really appreciate it :)
@BrandonDolinski
@BrandonDolinski 3 жыл бұрын
Running into some sort of issue anyone else encounter this issue: kzbin.info/www/bejne/kGevdHmje5Jlgsk I think the object placeable object is colliding with itself even thought it shouldn't. Any advice is welcome :)
@BrandonDolinski
@BrandonDolinski 3 жыл бұрын
Found the issue In the Update Placement Function, I forgot to set the Trace Channel to Landscape so the the trace was detecting itself and causing the bug shown! I hope my learning can help others out there. I might recommend that you make a discord channel so people can post question and we can have more dialogue with you.
@Hydra_Studioz
@Hydra_Studioz 3 жыл бұрын
@@BrandonDolinski Ive Done that but still getting thet issue
@therealbugzi5670
@therealbugzi5670 2 жыл бұрын
@@Hydra_Studioz I had to set the line trace to camera for it to work (using UE5)
@Sparrow_of_Attrition
@Sparrow_of_Attrition Жыл бұрын
@@therealbugzi5670 This comment just fixed it for me, thank you!
@fargoretro
@fargoretro 2 жыл бұрын
This was too long of a video to do all in one section. You need to 'test' more often so that someone following along knows if there is a problem or not.
@digitalgamers822
@digitalgamers822 4 ай бұрын
I am having a issue where the "building" is going thru the floor when the floor is correctly set as landscape, the building just follows the mouse while inside the floor
Unreal Engine City Building Game - The Grid - EP 5
17:28
The Game Dev Channel
Рет қаралды 49 М.
Why Solo Developers Should Use Unreal
9:51
Thomas Brush
Рет қаралды 455 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,6 МЛН
The Best Unreal Engine Sample Project you've never heard of
9:10
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 301 М.
Hellblade 2 is getting TOO REAL in Unreal Engine 5 | New Metahuman Animator
18:20
Unreal Engine City Building Game - Advanced Camera Controls - EP 2
19:26
The Game Dev Channel
Рет қаралды 18 М.
How Two People Created Gaming’s Most Complex Simulation System
38:54
ThatGuyGlen
Рет қаралды 1,5 МЛН
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 559 М.
What's a grid? How to make? (Unreal Engine)
15:07
AziApps
Рет қаралды 4,5 М.