Picking Up And Moving Objects | Inspect Item Part 1 - Unreal Engine 4 Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • Hey guys, in today's video, I'm going to be showing you how to pick up, move, and place down objects. This will be the first part of an inspection system, however this video will work on it's own as well.
    Part 2: • Inspect And Rotate Ite...
    #Ue4 #UnrealEngine4 #Ue4Tutorial
    ___________________________________________________________________________
    00:00 - Intro
    00:28 - Overview
    00:52 - Tutorial
    24:05 - Final Overview
    24:21 - Outro
    ___________________________________________________________________________
    My Public Video List: trello.com/b/7vJgXzBm
    My Patreon Page: / mattaspland
    Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
    The Basics Of Nodes Playlist: • The Basics Of Nodes In...
    Blender Tutorials Playlist: • Blender Tutorials
    ___________________________________________________________________________
    If you enjoy make sure to subscribe: / @mattaspland
    Join My Discord Server: / discord
    Follow Me On Instagram: / matt_aspland_
    All My Social Media Links: linktr.ee/MattAspland
    ___________________________________________________________________________
    If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
    My Patreon Page: / mattaspland
    Link to PayPal: www.paypal.com/
    You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
    Thank you :)
    ___________________________________________________________________________
    ♫Music By♫
    ●Kronicle - Chill Noons
    ●Soundcloud - / the-chemist-10

ความคิดเห็น • 147

  • @Brandon12983
    @Brandon12983 2 ปีที่แล้ว +9

    I spent hours on unsuccessful methods of picking things up. When it finally worked with your code I was actually jumping up and down with joy. Thank you so much!

  • @Beh3D
    @Beh3D ปีที่แล้ว +18

    For anyone watching this video and running into the bug where the collision of the object you picked up is interfering with your character movement, simply go into the Inspected item parent BP -> static mesh -> collision -> custom collision -> check ignore pawn, but block everything else. You're welcome

    • @STRELOK290799
      @STRELOK290799 ปีที่แล้ว +2

      I love you so much, thanks a lot for the solution. I was going crazy ahahah

    • @Dontstopbelievingman
      @Dontstopbelievingman ปีที่แล้ว +1

      If by 'interfering' you mean, 'bouncing up into the sky', then I'm having this issue, but these things didn't work unfortunately. Back to watch it all again...

    • @tadeuszreczek2349
      @tadeuszreczek2349 2 หลายเดือนก่อน

      Thank you very much

  • @zakariazeddam1438
    @zakariazeddam1438 ปีที่แล้ว +2

    you're the best unreal youtuber out there, you deserve more credit. thank you

  • @slkkfelipe
    @slkkfelipe 3 ปีที่แล้ว +5

    I have waited so long for this video nice video mate btw

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      That's great to hear man! All the best to you :)

  • @arielshtern4125
    @arielshtern4125 ปีที่แล้ว

    Thank you for all the tutorials! I was very afraid of blueprints and now thanks to your tutorials I understand the logic thinking behind it.

  • @JoelDiab
    @JoelDiab 3 ปีที่แล้ว +3

    Thank you so much! Had some problems at the beginning but figured everything out. I added keys to my game that the character can pick up and I made the keys spin but when id pick them up it would spin my whole character so had to remove that feature😂

  • @YaMolod-cm5lm
    @YaMolod-cm5lm ปีที่แล้ว

    Thanks! Very well explained!

  • @kingdoom1906
    @kingdoom1906 2 ปีที่แล้ว

    Thanks for all videos you make

  • @g-dojjo
    @g-dojjo 3 ปีที่แล้ว

    Thanks bro!! Great tutorial :3

  • @simondelguste
    @simondelguste ปีที่แล้ว

    Thank you so much for this !!!!

  • @aleksboboychev
    @aleksboboychev 4 หลายเดือนก่อน

    Thank you!

  • @stevenwynn819
    @stevenwynn819 3 ปีที่แล้ว +1

    This is a key skill for any dodgeball game!

  • @Faizy_Writes
    @Faizy_Writes 3 ปีที่แล้ว +4

    Oh wow It's Really Amazing Sir

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Thank you so much bro!

  • @alexjr977
    @alexjr977 3 ปีที่แล้ว +5

    You know what, you are making my horror game
    Thank you :)

  • @rifat.ahammed
    @rifat.ahammed ปีที่แล้ว

    Thank you soo much

  • @khazinianimation
    @khazinianimation 3 ปีที่แล้ว

    this is awesome

  • @mwdesignnew
    @mwdesignnew 2 ปีที่แล้ว

    Thank you for the tutorial. I have created the blueprint, only have the problem that I can not pickup the sphere, instead plays the sequence of the "Open Drawer" the sphere then moves like a drawer and the sound to it, what did I forget to do ? I have the Open Drawer also rebuilt from your Tuts before

  • @slkkfelipe
    @slkkfelipe 3 ปีที่แล้ว +1

    Hi!! If i have so many "interact" inputs on the same project, how do i to each input work in the current BP, one example i did the drawer blueprint, and when i press the button of open drawer next to interact item it make the drawer function. Did you got it?

  • @Davemansch
    @Davemansch 5 หลายเดือนก่อน

    @matt is there a way to make the item go back, when dropped, to its original location? Thank you sir for wonderful tutorials!

  • @esteban_ama
    @esteban_ama 10 หลายเดือนก่อน +1

    Hi Matt. Thanks so much for this tutorial. I have this issue though: the first time I place back the item it goes smoothly but afterwards it goes smoothly the first part and then snap back to the floor abruptly. Any idea why?

  • @randomclips7777
    @randomclips7777 2 ปีที่แล้ว +2

    Hey, 1 problem I encountered that If I hit E while holding Object while looking at the floor the Object spawns and just launches to the side

  • @papasheev8924
    @papasheev8924 2 ปีที่แล้ว +1

    Hey mat, every time I pick up the item it comes to me but is then launched away, any ideas?

  • @-sniver8586
    @-sniver8586 3 ปีที่แล้ว +5

    Thanks, I've been looking for this video for a long time, but can you teach us how to hold Lantern with animations?

    • @randomcallum
      @randomcallum 2 ปีที่แล้ว

      look for an equip item tutorial

  • @Vaiskiz
    @Vaiskiz 3 ปีที่แล้ว

    ay, how do i make a pick up system and that i can take a model, place it in a sedan car as a example.

  • @gr4j0m3r
    @gr4j0m3r ปีที่แล้ว

    Does this work after I added changing perspective from Third Person to First Person system? I did use only FPP camera while Change Perspectiv System still in place, it doesn't work.

  • @gamekingstudios
    @gamekingstudios ปีที่แล้ว

    is there a way this can be done with the character actually grabbing the item with hands and seeing it in FP

  • @chasecreange4449
    @chasecreange4449 ปีที่แล้ว

    Thanks for the great tutorial. The object falls immediately upon picking it up. Any suggestions?

  • @Vhins_
    @Vhins_ 2 ปีที่แล้ว

    Hi there is a problem with ue5 if you go like 10m avay and try to drop the object you cant. Help to solve it?

  • @rafaelperdigao5988
    @rafaelperdigao5988 ปีที่แล้ว

    Thanks for the video. It really helps. But i am with a problem, when i try to place it on the ground with the E key the objects starts to go for the ground and then dissapears, can someone help with this?

  • @noosphere25
    @noosphere25 8 หลายเดือนก่อน

    Another thing: I have a piece of paper with text as an object. I unfolded it and put it on the surface as it should be. If I pick it up from the surface above ground level, it is if I put it down normally without changing its location, but if I move away from the surface with it and try to let go of the object it first descends tangentially and in the end sharply descends vertically to the ground and .... flips 180 degrees. What do I add and where to make it at the end of the landing does not make a turn on 180?

  • @rodroeq7956
    @rodroeq7956 3 ปีที่แล้ว +9

    Nice!!! I was studying your videos right now, could you make one about the timeline node, I was watching the lerp one yesterday and the timeline node still confused me.

    • @pufisd
      @pufisd 3 ปีที่แล้ว +1

      Yes the timeline node confuses me too

    • @gamerdweebentertainment1616
      @gamerdweebentertainment1616 3 ปีที่แล้ว +2

      @@pufisd Value Change Overtime... like you can do float nr 1-10 within 5 seconds and you can even smooth it out with curves so at 0sec it slowly goes to nr 1... and from nr 9 it goes slowly to nr 10. You can do even wobbly stuff. For example door, opens fast for a second, but then sloooowly opens up. The issue on Timelines I think is overwriting it? I don't know, haven't tried it much like, pressing E to Open door and you kind of have to wait to end, but what if I want to close it while it's opening. Haven't noticed any tutorials about that and that on top might create a bug where you get stuck between doorframe and door :)

    • @pufisd
      @pufisd 3 ปีที่แล้ว +1

      @@gamerdweebentertainment1616 thanks :)

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +4

      Thanks man, and great idea, I can for sure add it to my list to explain further!
      Thank you Gamerdweeb for the explanation now too :)

  • @arturlipinski7534
    @arturlipinski7534 2 ปีที่แล้ว

    Hi, i would like to know how to my npc pick up and drop objects, could you help me?

  • @saedrajab
    @saedrajab 2 ปีที่แล้ว

    Very nice video.
    I hope if you can make a C++ video if this tutorial

  • @MacAndTheCheese
    @MacAndTheCheese ปีที่แล้ว

    at 21:07 unreal wont let me connect the out hit to the hit, it says only exact matching structures are compatible

  •  2 ปีที่แล้ว +1

    Can i ask you a thing? how can I stop players from dropping items on the opposite side of walls? Like, how can i set the collision off just for the pawn, just for my character while i hold a item? The item needs to block walls for example. I'm my code i just "Set Collision Enabled" and put "No collison" This makes the object go through everything and I want it to just go through my character so that the famous bug of climbing objects and starting to float doesn't happen. And i think that its a great video suggestion for the grab, inspect, drop items series :) Sorry to bother.

  • @mohamedayman5240
    @mohamedayman5240 3 ปีที่แล้ว +1

    i can't believe you only have 8000 subs

  • @wmka
    @wmka 2 ปีที่แล้ว

    Are these tutorial projects available for download?

  • @foshobromigo
    @foshobromigo 2 ปีที่แล้ว +3

    Everything works as expected UNLESS I am holding the mesh and my character hits another object in the game, then I can't put the grabbable object back down. Any ideas on how to make the code ignore collisions with my character while I am holding the object?

  • @shaben0172
    @shaben0172 2 ปีที่แล้ว +1

    Could someone show me how to fix the bug or we can't file?

  • @arcanegaming9175
    @arcanegaming9175 ปีที่แล้ว

    I did exactly what this video said to do and I got an error trying to pick up the sphere, but in my game, the sphere is a gas can.
    I copied the interactable item, and the BP for the character for the item, and instead of picking up the item, I get no response when I click E.
    Can any of you help? I made a video of my BP set up in case you need to see my BluePrints

  • @juancharistheashawu
    @juancharistheashawu 3 ปีที่แล้ว +1

    Is this method works?:
    So when u click an action key for example "E" key, an animation will be triggered and by anim notify when the animation hit specified frame, the object will be attached to character's hand socket.
    i wanna give it a shot but i dunno yet how to implement that, i just knowing that anim notify is used to make like triggering footstep sound. Also i dunno yet how to attach object to socket.

    • @gamerdweebentertainment1616
      @gamerdweebentertainment1616 3 ปีที่แล้ว

      Look up any equip weapon tutorial.
      Attach to function actor to component or other, to certain bone/scene/item, if necessary add a socket to the skeletal mesh and there you can even use preview with certain weapon/actor.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Hey mate, theoretically that sounds correct yes. Once you add the notify to your animation, in the animation blueprint, you should be able to get the event for that notify, it should be named "Anim Notify 'whatever you named it'". Then you can use "Attach Actor To Component" to attach the object to the socket you like :)

  • @emirisik
    @emirisik 2 ปีที่แล้ว +7

    Hey mate, I love this series. I had a question, when I pickup the object and try to move, it yanks me out of map. Why would this happen? Again, thanks!
    Edit: Issue was Collision, the itemparent and my map collision was colliding so moving it a bit further and higher in camera helped. Cheers

    • @roky648
      @roky648 2 ปีที่แล้ว +2

      same problem, thanks for the solution bro 😀😀

    • @Wrong_v
      @Wrong_v ปีที่แล้ว

      But how can I take the object collision only when I am holding it?

  • @thevengeance9999
    @thevengeance9999 2 ปีที่แล้ว +3

    ı have big problem When I pick up an object from the ground, I suddenly take off, why?

    • @Jay-uu5lu
      @Jay-uu5lu 2 ปีที่แล้ว +1

      That's because its overlapping to you which im also having that issue plus I cant get to simulate physics without it not getting picked up honestly this tutorial wasnt that good because of that

    • @thevengeance9999
      @thevengeance9999 2 ปีที่แล้ว +1

      @@Jay-uu5lu ı understand thank you for comment

    • @byte-sized-tech
      @byte-sized-tech 2 ปีที่แล้ว +1

      Did you set 'Ignore Self' ? and did you also add the ignoring item part shown in the video?

  • @drysnalg6036
    @drysnalg6036 3 ปีที่แล้ว +8

    Currently having trouble in the putting it down part, it seems that its not resetting the inspecting variable(its always true), therefore not allowing me to put it back down, any idea what it could be?

    • @drysnalg6036
      @drysnalg6036 3 ปีที่แล้ว +6

      Nevermind. Found the solution. Im using a third person camera, so when you click the interact button once u have the objective picked up, you need to make sure the line hits the object you are currently holding, otherwise it wont play the "putting down" because it only interacts with objects with the interact tag.

    • @TechnoReverseChannel
      @TechnoReverseChannel 3 ปีที่แล้ว +1

      @@drysnalg6036 You are an absolute genius for figuring this out thank you!! Please pin this Matt!

    • @nhatminh7397
      @nhatminh7397 2 ปีที่แล้ว

      @@drysnalg6036 thanks u i has a same problem and u saved me

    • @darkmazztv
      @darkmazztv ปีที่แล้ว

      how did you end up fixing the "line trace" hitting the object again ?
      I'm having the same issue

    • @drysnalg6036
      @drysnalg6036 ปีที่แล้ว

      @@darkmazztv If I remember correctly, my line trace was on the wrong axis. After fixing that, the issue was that the range was too short. You can enable debug on line traces from mouse clicks and adjust from that.

  • @Phoenix-sj9kf
    @Phoenix-sj9kf 3 ปีที่แล้ว +26

    The only video games that are successful are the ones who were made by devs that watched matts videos.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +5

      Hah that's so kind man! Everyone will be successful either way! :)

  • @josh4052
    @josh4052 3 ปีที่แล้ว +5

    This might be a stupid question, but could you care to explain why do you duplicate the item you want to inspect using the actor component instead of inspecting the "real" actor?
    Duplicating it seems to be more expensive, isn't it?

    • @Gond0rian
      @Gond0rian ปีที่แล้ว

      Just finished the tutorial and was scratching my head. What if my item has its own variables, copy all those too?
      Thanks for also asking the question, helped me realize that there's a better way. I'll be looking to transform the original item to the pick-up point instead of duplicating/destroying.

  • @TarkanTV1
    @TarkanTV1 ปีที่แล้ว +1

    whoever watching the video its working on the unreal engine 5 too so you can watch it, its not waste of time :) literally only working one so far

  • @DanyEZ
    @DanyEZ ปีที่แล้ว +1

    5:00 It doesn't give me "Vector * float" but just "*" Help i have a Ue5.2

  • @JustFun-gx9pk
    @JustFun-gx9pk 3 ปีที่แล้ว

    will there also be torch system like in ac origins or rdr2

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +2

      I can add that to my list :)

  • @TSB191
    @TSB191 ปีที่แล้ว +2

    Hey, this is not working for me in UE5, any idea why that could be? I did the coding exactly the same but nothing happens when i approach an object in my scene and try to interact with it.

    • @becomeplayer1
      @becomeplayer1 ปีที่แล้ว

      Same thing happened to me

    • @knightofbrokenglass9237
      @knightofbrokenglass9237 ปีที่แล้ว

      same - when I re-activate "Draw Debug Type" to "For Duration" I can see the Line trace firing on a flat plane, not adjusting with the angle of the head and camera

  • @nefarioushan2394
    @nefarioushan2394 ปีที่แล้ว

    My brother in Christ I would have not passed this semester without your help

  • @rachelw9721
    @rachelw9721 ปีที่แล้ว +2

    Firstly thank you for the tutorials and I’ve tried some of your other tutorials, most of them work so far. For this mechanic I can pick up the item and inspect but I can’t put it back down. When I press E again the character can move again but the item is still floating in the middle of the screen. I’ve checked the code multiple times and nothing seems amiss.

    • @joshlittlelight4777
      @joshlittlelight4777 ปีที่แล้ว

      I am having the same issues I'm not sure if its a UE5 issue, there was a comment at the bottom for a fix but with no luck. I can pick it up but it stays in the middle of the screen and I can't put it down again?

    • @joshlittlelight4777
      @joshlittlelight4777 ปีที่แล้ว +7

      I found a solution that worked for me, Right after the first LINETRACE there is 2 branches with the second branch having the "actor has tag" in the return value. In the Actor has tag return value add in a "OR BOOLEAN" and connect the Inspecting variable and the actor has tag to it then the pin going out of the OR BOOLEAN plug it into the 2nd branch, this was super confusing for me so I hope it makes sense but messing around with it I got it to work for me using this method. Hope that helps.

    • @kali.dimmitrova9839
      @kali.dimmitrova9839 ปีที่แล้ว +1

      @@joshlittlelight4777 Thank you, that worked for me to! I had the same issue. It works but i get every time an error message for that second branch

    • @MelbourneArchviz
      @MelbourneArchviz 6 หลายเดือนก่อน

      @@joshlittlelight4777 you are a life saver, I spent 2 days on this before I saw your comment.

  • @ceritafilm2937
    @ceritafilm2937 3 ปีที่แล้ว +4

    I'm first

  • @feynomen2868
    @feynomen2868 ปีที่แล้ว +1

    I'm on Unreal Engine 5 and it is not working at all, When I grab the object my character doesn't respond anymore or he is ejected from the map xD. I watched again and again the video but nothing is changing, did other people had the same issue and did you solve it ?
    Ok I found on the comment the issue was in the blueprint InspectableItemParent, going to Collision and then Collision Presets "OverlapOnlyPawn". and then everything worked perfectly !
    Thanks for the tutorial !

  • @cnakdgn
    @cnakdgn 2 ปีที่แล้ว

    Hey Matt thank you for the awesome tutorial i faced some issued and fixed but still need to ask some. First of i wasnt able to pick up the item so i searched a little and noticed i started my project raytrace disabled at first i tought thats the issue so i enabled it but then i figured it was cuz of the mesh collision it was no collision so i fixed it and now im able to pick them altough they throw me away when i look ground but thats okay the question is would this code still works if my project is created raytracing disabled ?

    • @randomclips7777
      @randomclips7777 2 ปีที่แล้ว

      I also cannot pickup can you help me please?

  • @MrJesso150
    @MrJesso150 ปีที่แล้ว

    When i pick up an item and move it ingame, red lines appear. How do i remove those lines?

    • @emsido5932
      @emsido5932 ปีที่แล้ว +2

      5:25 You have to set "Draw debug type" to none in LineTraceByChanel

  • @keremgoncuk1239
    @keremgoncuk1239 2 ปีที่แล้ว +3

    hi matt i have a problem. When I pick up the object from the ground, the object on the ground does not disappear and does not descend again until I click on the object on the ground again. How can I solve this, what minutes should I look at.

    • @avanzo.academy8643
      @avanzo.academy8643 2 ปีที่แล้ว

      Estou tendo esse mesmo problema. Conseguiu resolvê-lo?

  • @narrgamedesigner2747
    @narrgamedesigner2747 2 ปีที่แล้ว +2

    Hmm I can't pick it up and I am also propelled into the air when Interact with the object.

    • @ciarangaming7563
      @ciarangaming7563 2 ปีที่แล้ว

      Same

    • @semmert
      @semmert 2 ปีที่แล้ว

      @@ciarangaming7563you have to disable collisions on the object you pick up, or set "pawn" to overlap. The problem is the object collision is fighting with your character capsule and trying push them apart.

    • @ugochanneltv5600
      @ugochanneltv5600 ปีที่แล้ว

      @@semmert if i disable collisions the blueprints will not work, if i set pawn to overlap nothing changes

  • @davidj319
    @davidj319 2 ปีที่แล้ว +2

    It doesn't work properly even though I've reviewed the video many times..............

  • @cankabal2234
    @cankabal2234 3 ปีที่แล้ว +3

    Hi. Thanx for the awesome tutorial. I have a little problem. I watched the video 5 times and i am sure i did everything right. I can pick up the object but i can not put down. Can you help me?
    (Update) I found the problem but i still don't know how to fix it. To interect with the object it needs to be in the center of the screen. But i don't want it to be center.

    • @lewiswarren4163
      @lewiswarren4163 2 ปีที่แล้ว +4

      You have probably moved on from this long ago, but for future users with the same issue. You can resolve this by changing two branching statements to receive an OR condition. The first branch which requires this is the one immediately following the first "LineTraceByChannel", add the "inspecting?" boolean variable in, as well as an OR condition, and then plug the inspecting variable and the already existing return value from our LineTrace into the OR conditions which then can go back into the branch. Then repeat this process with the very next branching statement which currently only takes the "ActorHasTag" value as a condition. So as a quick breakdown for anyone who cares, the mechanic will now function if the item in front of them is an inspectable, OR if they are already holding an item.

    • @shaben0172
      @shaben0172 2 ปีที่แล้ว +1

      @@lewiswarren4163 hello i would like to try to get in touch with you because i don’t understand how to do it. Is it possible to have your discord?

    • @shaben0172
      @shaben0172 2 ปีที่แล้ว +1

      Could someone show me how to fix the bug or we can't file?

    • @DrDremur
      @DrDremur ปีที่แล้ว

      I was able to follow along with Lewis’ OR condition suggestion. It did bring in the Access None error. To solve that I saw that adding “? Is Valid” and inputting it before the branch call and connecting the target for it to whatever the error is referencing. It screwed with the line traces ability to place the object back down without directly looking at the ground. Which is what I’m trying to solve next.

    • @kevCarrico
      @kevCarrico 11 หลายเดือนก่อน

      @@lewiswarren4163this helped greatly, thank you!

  • @zentimtrades3470
    @zentimtrades3470 2 ปีที่แล้ว +1

    Hi Matt - I think I followed the code but when I inspect item, pick it up and then look down - I shoot up to the ceiling :) haha any ideas? :)

    • @semmert
      @semmert 2 ปีที่แล้ว +2

      turn collision off on the item you're picking up (or set pawn to "overlap"). it's colliding with your character capsule and trying to push away.

    • @zentimtrades3470
      @zentimtrades3470 2 ปีที่แล้ว +1

      @@semmert thank you!! The jet pack effect was fun for awhile but needed the fix!

    • @feynomen2868
      @feynomen2868 ปีที่แล้ว +1

      @@semmert You just saved me, I was going crazy with the whole thing and your comment saved my project ! Thanks a lot !

  • @Synth679
    @Synth679 2 ปีที่แล้ว

    Whenever i put down the item, it just shoots to the right never to be seen again... idk what i did wrong

  • @Alex_Panagiotidis7
    @Alex_Panagiotidis7 2 ปีที่แล้ว +1

    Hi. Thanx for the awesome tutorial. I have a little problem. I watched the video 5 times and i am sure i did everything right, But i cant pick up the item:(

    • @randomclips7777
      @randomclips7777 2 ปีที่แล้ว +2

      Same if u know the solution please tell

    • @randomclips7777
      @randomclips7777 2 ปีที่แล้ว +1

      I fixed It somehow, i just readded the tag to the object and static mesh I was using I went to its file and checked if there were collisions + set the collision type to use complex as simple and it worked

  • @tt7312
    @tt7312 2 ปีที่แล้ว +1

    Cool tutorial but I can't drop my object.

  • @0range180
    @0range180 3 ปีที่แล้ว

    Hey I’m having a slight problem, every time I pick up the object it uses collision and if I aim the object on the ground I can jump on it, but if I disable collision I can’t pick it up, but still a really helpful tutorial

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Hey mate, what you could possibly do is disable the collision after you have picked it up, and then when you place it back down again, re-enable the collision

    • @0range180
      @0range180 3 ปีที่แล้ว +1

      @@MattAspland Ok thanku could that be done in the fp event graph or the inspectable item one?

    • @0range180
      @0range180 3 ปีที่แล้ว +1

      oop nvm got it thx

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      @@0range180 Ah okay great, no worries. Nice work :)

    •  2 ปีที่แล้ว

      hey man,
      how did you do it? Where? Third person? I can't find a blueprint that accept my grabed component :(

  • @gamerdweebentertainment1616
    @gamerdweebentertainment1616 3 ปีที่แล้ว +2

    Interesting now using Tags? Okay...
    Difference between using an interface?

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Yep, I found that tags were a good choice for this system. And an interface would be better to use if I did the picking up code within the blueprint, or it needed to be different for each item. However, I did it all in the character BP without needing to cast to an external blueprint.
      So in this case, I didn't need an interface, I started out with one, but changed how I was writing the code half way through :)

  • @harryhenley545
    @harryhenley545 2 ปีที่แล้ว

    Great tutorial but I must have goofed somewhere. I can pick up and put the objects down, but only when the trace line hits another actor.

    • @lewiswarren4163
      @lewiswarren4163 2 ปีที่แล้ว +1

      I realize this is super late but, this is a feature for the script as it was written and not a bug. You can fix this however by setting the first two branches after the first LineTrace to accepting an OR condition, with the other condition being "inspectable?". So if inspectable is true(player is holding) then it won't require the linetrace hit.

    • @semmert
      @semmert 2 ปีที่แล้ว

      @@lewiswarren4163 I don't understand. where do you set the "inspectable" variable? Also, why doesn't Matt have that issue in his tutorial?

    • @semmert
      @semmert 2 ปีที่แล้ว

      @@lewiswarren4163 nevermind, I figured it out. I wasn't using a variable called "inspectable?", and just realized Matt was. I added the "or" boolean to the branch after the "has tag", and it works now. thanks.

    • @shaben0172
      @shaben0172 2 ปีที่แล้ว +1

      @@semmert hello i would like to try to get in touch with you because i don’t understand how to do it. Is it possible to have your discord?

  • @AuraGamesIn
    @AuraGamesIn 3 ปีที่แล้ว

    Can you teach How to create aim trainer ?. It can teach lot of things which we can use in any game

  • @dangaming1821
    @dangaming1821 2 ปีที่แล้ว

    This doesn't work. I can pick up the item but putting it back down again doing nothing

    • @nassergreatdeveloper3745
      @nassergreatdeveloper3745 ปีที่แล้ว

      I have same issue. Have you found the solution yet ?

    • @nadirsehaba8239
      @nadirsehaba8239 ปีที่แล้ว

      @@nassergreatdeveloper3745 hello did u found solution plz! i can't pick up

    • @nassergreatdeveloper3745
      @nassergreatdeveloper3745 ปีที่แล้ว

      @@nadirsehaba8239 I think it’s bug in the engine as it self

    • @nadirsehaba8239
      @nadirsehaba8239 ปีที่แล้ว

      @@nassergreatdeveloper3745 is there any other solution or method to do that plz?

  • @rajenderachaudhary5952
    @rajenderachaudhary5952 3 ปีที่แล้ว +4

    Hi love from India and when you upload a video it's 10:30pm in india(just saying no need to change your upload time :))

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hi man, thank you so much for your support! :D

  • @ROBird
    @ROBird 7 หลายเดือนก่อน

    For anyone who is going insane about it glitching through the floor when you look down and drop it, I was able to fix it by going to the final line trace he showcased in the video and adding a few things. I'm bad at explaining but here's an attempt.
    What you do is make a branch with the condition coming from the blocking hit on the break hit result for the linetrace by channel. Connect the white arrow to the branch from line trace by channel and connect the true output to the New item end location. For the false, connect the output to a new line trace by channel node. For your start, get the actor location for the placed item and do an add vector node. In the Z, put 500. Now for the end, it's the same as the line trace that he did in the video, or the location for placed item minus 500 in the z. Break your new hit result and set the location for that one to be your new end item location variable. Connect that to the new item start location which then goes to the timeline and it should be fixed

  • @d3funct484
    @d3funct484 2 ปีที่แล้ว

    Decent Code but it's more of a loop hole than any proper coding for picking up and dropping objects. You look straight down and boom off to space your player goes with the held object... haha

  • @RV-bc9yi
    @RV-bc9yi 3 ปีที่แล้ว +1

    Hi, I'll watch the video again but it's the second tutorial that doesn't work...

  • @becomeplayer1
    @becomeplayer1 ปีที่แล้ว

    This didn't work whatsoever. Interferes with your collision presets and does'nt work at all if you have simulate physics enabled. Overall, not worth the headache, just use the physics handle component

  • @elwhite2130
    @elwhite2130 2 ปีที่แล้ว +3

    This is literally so broken DO NOT WASTE UR TIME

    • @Jay-uu5lu
      @Jay-uu5lu 2 ปีที่แล้ว

      True I tried it but I cant get to simulate physics without it not getting picked up

    • @ugochanneltv5600
      @ugochanneltv5600 ปีที่แล้ว

      give me a better tutorial

    • @kevCarrico
      @kevCarrico 11 หลายเดือนก่อน

      it works perfectly.