How To Hide In A Locker - Unreal Engine 4 Tutorial

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ •

  • @Si-Toecutter
    @Si-Toecutter 3 роки тому +24

    Tip: As your using a different camera for inside the wardrobe it looks cool if you apply a dirt mask to the lens, it gives it that feeling of hiding in a dusty closet.

    • @MattAspland
      @MattAspland  3 роки тому +5

      That's a great idea Simon! Nice work, adds that extra level of realism and detail!

    • @pufisd
      @pufisd 2 роки тому

      thanks for the idea :)

  • @The_Twisted_Monk
    @The_Twisted_Monk 3 роки тому +8

    A very nice horror mechanic. Glad to see you do this tutorial, I haven't see this done yet. In less then 30 mins that's even better you're awesome thanks for this. You're my Dude Matt, just keep doing what you're doing.

    • @MattAspland
      @MattAspland  3 роки тому +1

      Thanks Russel, happy to provide! I love horror content so thought this would be a nice one! I appreciate it :)

  • @rahmanshadman
    @rahmanshadman 2 роки тому +2

    Just wanted to say, your horror core tutorials are helping me A LOT right now, so thank you so much!

  • @simplepolygon5316
    @simplepolygon5316 Рік тому +2

    One issue i have with this is, jumping then entering sends you under the map upon exiting the locker sadly im unsure on how to add anything like a ground check into the blueprint but will work on this sometime maybe, but i do have an idea disregarding that, i wanted the door to stay open just a slight tad... so i made the timeline with 4 points, 90 degree angle to the right, straight for a few blocks and then another 90 degree down , this makes the door halt just for a short amount of time and its beautiful, apart from the error im facing im loving it, thanks Matt

    • @simplepolygon5316
      @simplepolygon5316 Рік тому

      Also while entering u can move with mouse like crazy, sadly one more thing.. the direction of entering you can be facing away and it would still hide

    • @day3designs
      @day3designs Рік тому

      Have you found a fix for this? I am facing a similar issue of my character clipping through the floor when you jump and hide simultaneously

    • @RafaG-k3l
      @RafaG-k3l 5 місяців тому

      @@day3designs also inside the locker if you maintain space pressed the locker camera will snap crazy to a specific angle inside the locker
      :) if anyone has a fix would be much helpful

  • @blitz_786
    @blitz_786 3 роки тому +11

    Epic! You have tutorials on almost all of different mechanics that games have (hiding in lockers, under beds, etc). Amazing quality content!👍

    • @MattAspland
      @MattAspland  3 роки тому +5

      Thank you so much mate, so happy to hear that you like it :)

  • @cyphermur9t
    @cyphermur9t 2 роки тому +5

    Very good tutorial, got it all working. But I followed your footstep tutorial as well, and if I'm walking while I press the hide button, my character keep making footstep sounds while hiding. I've tried so many options but can't figure out how to get them to stop.
    e: Figured it out, just needed to add a 'Stop Movement Immediately' node after 'InputAction Hide' and make the Char REF the target.

  • @r_e_d_squirrel367
    @r_e_d_squirrel367 2 роки тому

    another gem. i always find a way to use your cool stuf. we now hide in recycled clothes bins. and others!

  • @TheF4c3m4n
    @TheF4c3m4n 3 роки тому

    We all talked about Matt hopefully doing this video yesterday, and look at this, we got it already! Nice! Thanks Matt!

    • @MattAspland
      @MattAspland  3 роки тому

      Thanks Pat, happy to provide content from amazing ideas like this one!

  • @stevenwynn819
    @stevenwynn819 3 роки тому +4

    Wow. You've practically laid out an entire hide and seek game. Amazing!

    • @MattAspland
      @MattAspland  3 роки тому +1

      Thanks a bunch Steve! Always a good fun mechanic :)

  • @phillips7706
    @phillips7706 3 роки тому +2

    Hey Matt, can you do a video about enemy finding you in the lockers? Please.

  • @Spork-Art
    @Spork-Art Рік тому

    your tutorials are so clear and helpful!
    I've just run into the issue though where whenever I enter the collision box for the locker, i can no longer move my mouse? even before pressing the interact key, The character can still move but for some reason the mouse is locked in the same orientation until the player controller leaves the collision area. Does anyone else have this issue?

  • @TheJMBon
    @TheJMBon Місяць тому

    If you implement an Interact interface or ANY functionality that relies on sphere or line tracing and collision, do NOT disable the player collision as it WILL break those mechanics. The way I fixed this is by adding an AI Perception Stimuli Source to my player character, then register and unregister as needed. Finally, I simply added a ton of HP to my player while in the locker so if any enemies or projectiles hit my player, the player doesn't die. Then when exiting the locker, just reset the hp back to normal.

  • @SalahTube0
    @SalahTube0 3 роки тому +2

    YOUR A LIFE SAVERR, I’m creating a horror game I planned like 4 days ago, and u helped soo much with that one video that u did yesterday too.

    • @MattAspland
      @MattAspland  3 роки тому +2

      That's amazing to hear man! So happy to help out! Good luck with your game :)

  • @mrmustache379
    @mrmustache379 2 роки тому +3

    the enemy Ai still caches me in the locker. I need help here. Pls respond

  • @quizzypham3389
    @quizzypham3389 Рік тому +1

    Hi Matt I have completed this tutorial and it works. But I got an issue, I do this one third person gamemode. When I finish hiding and press H once more, my character is rooted to the spot in front of the locker and can no longer move. All the animations like roll or idle stance is working but the only thing is that they are performed at the rooted location. Please help!

  • @guilhermechanal8917
    @guilhermechanal8917 2 роки тому +2

    please help i don't know why but the player camera snaps to the middle of the player's character after he leaves the locker and i don't know what to do ?

  • @li9htR6in
    @li9htR6in 3 роки тому +1

    Great video! I was wondering if you or someone could help me figure out why my mouse movement interferes with the entering & exiting rotation of the player using the locker?

  • @Si-Toecutter
    @Si-Toecutter 3 роки тому

    I literally build this last night based upon the hide under bed tutorial lol ... However I didn't have the moving door down so nice!

    • @MattAspland
      @MattAspland  3 роки тому +1

      Ha great, glad you managed to do it already and now improved on it! Nice work :)

  • @ASTRAL15293
    @ASTRAL15293 4 місяці тому

    Hello mat, ik you anit replying this, but i have a problem:
    when im in the locker, if i press jump inside the locker, when i get out i get launched to the outbounds of the map (down direction)
    is there anyway to fix this/disable jump during im in the locker? if you reply i would be happy :)

  • @vladaslav
    @vladaslav 3 роки тому +1

    Now that's what I like to see 😎 welldone man

  • @DarKDayS22239
    @DarKDayS22239 2 місяці тому

    It's perfect but I have a problem, when there is more than one, it only goes into the first one and not the other one.

  • @TWGReal
    @TWGReal 3 роки тому +2

    Thank you i needed this now for my Fan Game. :O You are the best please more. :DDDD

    • @MattAspland
      @MattAspland  3 роки тому +1

      That's amazing bro! Thank you!! Good luck with your game :)

    • @TWGReal
      @TWGReal 3 роки тому +2

      @@MattAspland thank you so much :D

    • @stalp0pp
      @stalp0pp 3 роки тому

      Pffffff Week Games, what are you doing here? haha lol

  • @HermaniVar1
    @HermaniVar1 3 роки тому

    Holy shit you actually did it! I remember you helping me with a question months ago, now I find exactly what I'm looking for. Well, I did find a way to do it myself, since it isn't the same thing as yours, buy this will surely remove all that mess I made. I currently can't work on it, but I certainly hope this is what I've always been looking for

    • @MattAspland
      @MattAspland  3 роки тому

      That's great to hear mate, glad you got it yourself and now also have something to compare the code too! Nice work mate, thanks for being round for so long too :)

    • @HermaniVar1
      @HermaniVar1 3 роки тому +1

      @@MattAspland well, my code is pretty terrible, but I guess it works good enough. The problem is that for it I used some kind of first person cutscene, so both the camera and arms are animated when entering. doing so became a mess, using sequencer instead of the character himself. Because of this, I don't know if I'll be able to make the locker "repeatable", something that you can copy and paste and it still works

    • @MattAspland
      @MattAspland  3 роки тому

      @@HermaniVar1 Ah right yeah, well that sounds good. I suppose a simple alternative, would be to maybe just play the animation on the player and locker, and then disable the player's movement so they can't mess up the look of it. I suppose it wouldn't look as good as a sequencer, but might be more functional. Best way to know is to mess about with it and find what works best!

    • @HermaniVar1
      @HermaniVar1 3 роки тому

      @@MattAspland I'm still working on it, but I'm almost done. I ended up placing a sequencer INSIDE the locker's blueprint (I didn't know I could do it), so now I have the full animation with the player opening the locker and closing himself in. I'm still trying to fix a few things, such as the sequence not always playing for some reason, but it's coming along as I always wanted it to. Thanks a lot for the video, it ended up being EXACTLY what I needed since I started the project, you helped me A LOT! Thanks

    • @MattAspland
      @MattAspland  3 роки тому

      @@HermaniVar1 That's amazing mate! That sounds great, and getting better and more efficient by the day, nice work! Happy to help in the end, and glad you can also get this done in your own rights and learn it all too, that's a great thing to be able to do! All the best mate, good luck! :)

  • @andreman86
    @andreman86 3 роки тому +1

    really good! Helped me a lot

    • @MattAspland
      @MattAspland  3 роки тому

      That's great to hear man! Cheers :)

  • @4rzky536
    @4rzky536 Рік тому +1

    when im hiding while im running or sprint, the footstep sound still play, how to disable it, AI can hearing my footstep and he's not get away from the locker, i can't get out 😭
    help me plss

  • @willcarattini
    @willcarattini 2 роки тому +6

    I currently have this about 95% implemented. The AI will initially ignore me while I'm hiding and the camera/locker logic operates smoothly. However, I keep running into the following behavior. If the AI sees me outside of the locker, I can no longer hide from it. Even if I run away long enough for it to stop chasing me and move along its behavior tree. For some reason if it comes across the locker I'm hiding in, it will always detect me and just wait outside of the locker. Has anyone run into this issue?

    • @lottie5847
      @lottie5847 2 роки тому

      Same, how did you fix it?

    • @keshavraj2079
      @keshavraj2079 Рік тому

      use ai perception instead of pawn sensing@@lottie5847

  • @OfficialStickmin
    @OfficialStickmin 2 місяці тому

    I'm using the AI in Ryan Laley's tutorial and it won't go away when the player hides. How do i fix this?
    Edit: in UE5, there is no inputaxis lookup node, what is the alternative

  • @myff2360
    @myff2360 3 роки тому

    I love you videos but im slow..
    Im getting an error for the Pitch because the Exec pin is nit connected for the "Set Pitch" node.

  • @ArtsyAishik
    @ArtsyAishik Рік тому +1

    An amazing tutorial, I implimented it in my game and it works so well. Is there a way so that the AI cannot see me when I'm in the locker because currently the AI can catch me even when I'm inside the locker and it resets the game.

    • @harshitjaiswal5529
      @harshitjaiswal5529 Рік тому +1

      Did you find a fix ??

    • @ap10235
      @ap10235 Рік тому

      Hey its working?

    • @katiekaliber
      @katiekaliber Рік тому

      You need to tick 'new hidden' on set actor hidden in game in the toggle hide function.

  • @qwertyhop7987
    @qwertyhop7987 2 роки тому

    If you are faced with the problem that when you press the button, the door starts to open and close very quickly, then just DO NOT use the Lerp, but connect the Door Track to Yaw and everything will work

  • @harshitjaiswal5529
    @harshitjaiswal5529 Рік тому +1

    I'm using UE 5.1 and i dont see the InputAxis LookUp at 18:39 is there something new for this in ue5 ? please help

    • @harshitjaiswal5529
      @harshitjaiswal5529 Рік тому +3

      Fix: You just use the new enhanced input axis you have created for looking around and spit it into X and Y axis

  • @abdullahsohail5395
    @abdullahsohail5395 3 роки тому

    Nice video ...... It will help me alot in my project 😀

    • @MattAspland
      @MattAspland  3 роки тому

      Thanks man, glad to hear it :)

  • @King_Ghanem
    @King_Ghanem 5 місяців тому

    thx you are a legend

  • @iiior605
    @iiior605 3 роки тому

    God, thank you brother! 👑👑👑

  • @shannasportelli
    @shannasportelli 3 роки тому +8

    lmao I used to hide in lockers back in the days when I was in high school 🤣

    • @MattAspland
      @MattAspland  3 роки тому +5

      Hahaha I can imagine seeing that at school lol

    • @piercealec1971
      @piercealec1971 3 роки тому

      pro trick: you can watch series at flixzone. Me and my gf have been using them for watching lots of of movies these days.

    • @ericmarcelo9256
      @ericmarcelo9256 3 роки тому

      @Pierce Alec yea, have been using Flixzone} for years myself =)

  • @redskyharmony3151
    @redskyharmony3151 2 роки тому

    very helpful video but when I once enter the locker I can't use or see my items from the inventory after getting out of the locker, how can I solve this?

    • @katiekaliber
      @katiekaliber Рік тому

      I think it's because you take control of the camera, you basically became the camera and your camera doesn't have inventory so maybe either find a way to access your player's inventory while controlling the camera or find a different way to do this hiding thing. There is another tutorial from gorka that uses teleport to hide, it's called 'How to Make a Horror Game in Unreal Engine 5 - Full Beginner Course', which would mean you stay your character. It's doesn't have the animation part where it seems you go into the hiding space but i'm trying to find a way to do that right now, probably with a cinematic animation or something.

  • @atharvaambedkar9513
    @atharvaambedkar9513 10 місяців тому +1

    I followed your tutorial and my player character is going inside the lockerand hiding but as i am using Ai perception i am getting caught by AI. How to Fix this??

    • @andreisolo
      @andreisolo 9 місяців тому

      Same problem

    • @Mayonetic
      @Mayonetic 8 місяців тому

      I know how to fix

    • @Mayonetic
      @Mayonetic 8 місяців тому +1

      Step by step:@@andreisolo
      1. Create an event for your interaction button, then create a branch leading from that
      2. Create the bool for "IsHiding?" then link that to a "not boolean"
      3. Off of that branch, drag and drop the "ishiding?" bool to the true exec
      4. drag and drop another "IsHiding?" bool to false
      5. now from there, drag the exec of true bool and do "set actor hidden in game"
      6. Click "new hidden"
      7. Drag from the hidden exec and creat "set actor enable collision"
      8. Do not check this
      9. Drag another exec and create another "set actor hidden in game"
      10. Click new hidden
      11. Do the same for the false bool, but set the opposite settings as you did for the true bool.
      12. Once youve done this, create a "get player controller in the middle, and link these to the first actor hidden up to, and the enable actor collision up top, and do the same for the bottom first actor hidden, and the same for actor collision.
      13. now drag off of the two hidden functions on the end and create "Set view target with blend" (make two of these, one for the top and one for the bottom)
      14. Now off of the top set view target with blend, select the new view target to be self
      and the target to be the original get player controller
      15. Off of the second view target with blend, select the target to be get player controller, and set the new view target to "Get player pawn" as this will set it back to the pawn camera instead of having it set to the ai viewing you.
      16. Then from there, drag the get player pawn return value and put it onto the "Set actor hidden" on the end of the train.
      This should fix your issue.

    • @DefaltThunder
      @DefaltThunder 3 місяці тому

      @@Mayonetic how man pls

  • @hanasprod
    @hanasprod 7 місяців тому

    The sensitivity of the mouse changes when entering a box collision. how to fix?

  • @OKRE303
    @OKRE303 Рік тому

    when i get out from the locker for some reason i cant move and if i jump it throws me out of the map

  • @pruss6940
    @pruss6940 2 роки тому +1

    If I am jumping as I press LMB to enter the locker, as I press LMB to exit I fall through the floor and out of the level. Any ideas on how to fix this?

  • @Grand-warden
    @Grand-warden 3 роки тому +1

    dude you are great

    • @MattAspland
      @MattAspland  3 роки тому

      Thank you so much man, happy to help! :)

  • @OreoRobDog
    @OreoRobDog 6 місяців тому

    works nice but clicking space bar moves the player to the location of the camera inside the locker for some reason

    • @OreoRobDog
      @OreoRobDog 6 місяців тому

      i fixed it but now I'm having a problem that my entity doesn't stop seeing me when i go in

  • @jtwafflez6567
    @jtwafflez6567 2 роки тому

    i dont know why when i leave the locker i cant move out of the box collision. plz help

  • @KylezUwU
    @KylezUwU Рік тому

    Also how can I disable my headbob code/footsteps that are in my firstpersonbp when getting in the locker?
    How can I disable my mouse input too as when I get in the locker the mouse does not work which is what I want I just want it static. But if you move ur mouse while in the locker it will cause the camera to go crazy when coming out of the locker.

    • @katiekaliber
      @katiekaliber Рік тому

      Maybe pull from the char ref and then disable movement. I'm not sure about the other things.

    • @motokultivator_bolji
      @motokultivator_bolji 7 днів тому

      You can use "Set Movement Mode", and put it to None. That will disable headbob, and footsteps

  • @whiteblack1528
    @whiteblack1528 2 роки тому

    it have one problem when you near box collision camera will change to locker camera

  • @DenisZaharenko
    @DenisZaharenko 2 роки тому

    i can barely move the cam inside the locker. it moves a little bit and gets back then.

  • @archiestutorials8716
    @archiestutorials8716 3 роки тому

    Wow i'm making a horror game and this is just what I need!

  • @Mayonetic
    @Mayonetic 8 місяців тому

    I have done all the correct steps, but when it comes to getting in the locker, the AI has to be looking at me in order for me to actually get in the locker
    any help>

    • @Mayonetic
      @Mayonetic 8 місяців тому

      Fixed issue with a bunch more confusing booleans, but got it to work finally. Anyways, now, the lerp and timeline isnt working for me. Well, it does, so it opens and closes, but it's like theres a copy of the door still here when it moves, anyone know any solves?

  • @motokultivator_bolji
    @motokultivator_bolji 7 днів тому

    I can't move when i move away from locker.
    Edit: I've fixed this by removing box collision, and by using "Set Movement Mode" in "Toggle Hide" function

    • @MattAspland
      @MattAspland  День тому

      Glad you fixed it! Thanks for sharing your solution too for others

  • @iiior605
    @iiior605 3 роки тому +1

    Bro, Bro, Bro! Can you help me again?
    I so need in this mechanic:
    In Many games (for example, in Valorant) you can place objects in space and they can Automatically move on, or move down (if this objects see obstacles) and when you press Button - this object will be spawn on place, where it was placed (hope you understand, if not, watch gameplay of Valorant character "Killjoy" and you will be see the abilities (for example: Turrets) which first of all we need to place it, and then on pressed button this turret will be spawn on this place.
    And how we can rotate this objects

    • @JDKDKDLDKDKDKDKKKDERYY
      @JDKDKDLDKDKDKDKKKDERYY 3 роки тому

      you want to place objects on a certain x/y position, while the z position is dependant from obstacles/terrain hight?
      am i understanding u right?

    • @iiior605
      @iiior605 3 роки тому

      @@JDKDKDLDKDKDKDKKKDERYY yes, right :)

    • @JDKDKDLDKDKDKDKKKDERYY
      @JDKDKDLDKDKDKDKKKDERYY 3 роки тому

      @@iiior605 do a raycast
      docs.unrealengine.com/en-US/InteractiveExperiences/Tracing/Overview/index.html
      read this.
      from what i understand, you should be able to get the position by breaking the hit result.
      so you have to:
      1. spawn in an object from a class that looks like the object you want to place(or has the same model with different materials).
      2. shoot a raycast from a z-position higher than any obstacle you'd want to place ye think.
      3. break the hit resuluts of that cast.
      4. set the location of the object you use to tell the players where they'd spawn their "thing"
      5. then spawn the Object you want to spawn at the same location if the player presses some button.
      I cant tell you the exact blueprint architecture you'd need, only the logic.

    • @iiior605
      @iiior605 3 роки тому

      @@JDKDKDLDKDKDKDKKKDERYY OMG, thanks, dude, so helpful!

    • @MattAspland
      @MattAspland  3 роки тому

      Great suggestion, and thank you so much for providing the great information Sir Vival! I can make a video on it still if you'd like a visual explanation, but of course this is great too! Thanks guys :)

  • @pyrategamer4424
    @pyrategamer4424 3 роки тому

    I make this system but now i want to make it for android. How can I make it plz help me

  • @seanholihanmusic2473
    @seanholihanmusic2473 2 роки тому

    please do this for multiplayer!

  • @raktimjs
    @raktimjs 3 роки тому +1

    Developers of Granny, Granny: Chapter 2, Evil Nun, and Evil Nun 2 might have learned to make lockers from you, sir.

    • @MattAspland
      @MattAspland  3 роки тому

      Thank you so much :)

    • @raktimjs
      @raktimjs 3 роки тому +1

      @@MattAspland No problem..

  • @zmammoth9618
    @zmammoth9618 7 місяців тому

    I have a problem. When I get in front of the locker and move my viewpoint, the viewpoint is strange. And when I enter the locker, the viewpoint is strange as well. I think that Axis-LookUp and Axis-Turn are doing something wrong. I would like to see your settings for LookUp and Turn... or can someone fix this strange phenomenon? ;;

    • @zmammoth9618
      @zmammoth9618 7 місяців тому

      Upon further investigation, it appears that the Axis system is UE5.1 with EnhancedInput
      I'm not sure if the Axis system was changed in UE5.1 to be configured here instead of EnhancedInput...

    • @zmammoth9618
      @zmammoth9618 7 місяців тому

      Fix:First, create IA_Look and IA_Turn in InputAction, select Axis2D for ValueType in the settings for IA_Look, and select Axis3D for IA_Turn. Next, replace AxisLookUp and AxisTurn on the video respectively. (AxisLookUp→IA_Look、AxisTurn→IA_Turn)
      Then, place the cursor over the ActionValue in each column, right-click, SplitPin, and connect the Y-axis as shown in the video, do the same for IA_Turn, and connect the X-axis as shown in the video. This worked perfectly for me!

  • @hazyb511
    @hazyb511 2 роки тому

    The player keeps moving when I press hide while simultaneously walking towards it. I found this problem because I have footstep SFX on my player character connected to the animations and I can hear my player walking. I cannot seem to find a way to stop player movement upon hidden in the locker in any way or form (I'm a noob too so that doesn't help either). Can you please help me?

    • @cyanwaffles
      @cyanwaffles Рік тому

      Did you find a fix?

    • @hazyb511
      @hazyb511 Рік тому

      @@cyanwaffles I've tried countless things, nothing on the internet was able to help me as well.
      I had an almost working code where I simply changed the player controller to the locker. You basically became the locker. But then I had an issue with the AI being able to see me in the locker, which I didn't fix as well.
      I ended up abandoning Unreal, it was fun for a while

    • @katiekaliber
      @katiekaliber Рік тому

      @@hazyb511 This might have to do with not setting up the 'set player hidden in game' toggle. Another thing that could work is to just set up perception on the ai, teleporting your character inside and let the walls do their work. Haven't tried it yet but since my setup is completely different from the tutorial i think that will be how i will solve this issue. Basically world transform in and out while invisible so the camera switch still gives the illusion of an animation playing to get in.

  • @aliahmedgaming6083
    @aliahmedgaming6083 3 роки тому +1

    How to open door with wood plank by using hammer please

    • @MattAspland
      @MattAspland  3 роки тому

      Hi, what exactly do you mean? There is a wood plank on a door therefore locking it, and you have to unlock it by hitting the wood off the door?

    • @aliahmedgaming6083
      @aliahmedgaming6083 3 роки тому +2

      @@MattAspland yes

  • @yato6267
    @yato6267 7 місяців тому

    Hello how Can we replicated this ? If somebody Can help me ? Thanks you very much

  • @TheminedocraftTerminator150503
    @TheminedocraftTerminator150503 3 роки тому

    So I followed the entire stuff but as soon as I press my button to interact with my locker, nothing happen. Although everything is compiled and is identical to what you've done
    What happened and how could I fix it, I rewatched your video but didn't found anything.

  • @anshumangupta4412
    @anshumangupta4412 2 роки тому

    If I am jumping as I press LMB to enter the locker, as I press LMB to exit I fall through the floor and out of the level. Any ideas on how to fix this?
    Helppp please!!!!!!!!!!

  • @patrikpoppopnapc3608
    @patrikpoppopnapc3608 3 роки тому

    can you make pretty please make a ai code to just roam around

  • @morgansavenay
    @morgansavenay 3 роки тому

    Everything else is working well, but went entering the locker, the camera movement is really weird, only from upper left corner to lower right corner and is very weird and shakey- I followed everything :P

    • @brankye517
      @brankye517 Рік тому

      It's likely that you copy-pasted codes from the inputAxis-look up to the inputAxis-turn without changing some variables. Making sure that you are calling variable Yaw instead of Pitch, it might fix your shakey camera.

  • @TheKrustGamer
    @TheKrustGamer 3 роки тому

    how do i add a second door that opens and closes to it

  • @Grand-warden
    @Grand-warden 3 роки тому

    Can you make a portable health bag? Pls

    • @MattAspland
      @MattAspland  3 роки тому

      Hey, sorry if I misunderstand, can you give an example maybe? Or more details? But I'd be happy to put it on my list :)

  • @ashentharuka6991
    @ashentharuka6991 3 роки тому

    bro im working in a 3rd person game . can you give me a solution to this - think we are in 3rd person mode . when we want to hide in the locker we should turn in to 1st person mode . can you make a small video about it

    • @texmurph
      @texmurph 3 роки тому

      You can still switch from your third person camera to the camera inside the locker. It won't be as smooth, but by switching to the camera he created, you are essentially in first person mode.

  • @Unu_depe_roblox
    @Unu_depe_roblox 8 місяців тому

    on me move camera dont work pls help

  • @anshumangupta4412
    @anshumangupta4412 2 роки тому

    i m not able to control the player movement after coming out of the locker...........did anyone face this issue??

  • @texmurph
    @texmurph 3 роки тому

    This works great! Thank you. One question - I am trying this in third person mode, and it works, but the transition isn't very smooth. With the blend time of .8, the camera ends up clipping through the door as it animates, and a smaller value of .4 makes it less noticeable, but still can end up with some odd behavior depending on the angle of the camera.
    Maybe it's a matter of looking up a tutorial that gets more into more details on camera blending in third person?

  • @katiekaliber
    @katiekaliber Рік тому

    On the off chance anybody sees this.. I have this problem of my input not working anymore after i use any of the WASD keys inside the locker. Anybody got an idea of why this is happening?
    Edit: actually i got an idea 2 seconds after i posted this; i disabled the movement in the toggle hide function when hiding and then when unhiding i add movement mode walking and it seems to be working properly now ^^ .

  • @Voikehveli
    @Voikehveli 2 роки тому

    how can i make it for multiplayer game ??????

  • @Baotaibaan
    @Baotaibaan 2 місяці тому

    how can i replicate this system?

  • @krill4413
    @krill4413 2 роки тому

    I have a sensitivity slider and when I enter the box collision it resets the players sensitivity until they leave the box

    • @Женёк-д1и
      @Женёк-д1и 9 місяців тому

      Did you manage to fix it?

    • @krill4413
      @krill4413 9 місяців тому

      unfortunately nah, sorry@@Женёк-д1и

  • @infinitious3609
    @infinitious3609 3 роки тому +2

    Brother, have I made a game before and won from it ... Can I succeed in my game?

    • @MattAspland
      @MattAspland  3 роки тому +1

      I think you can absolutely succeed in your game in which ever way you like :)
      I wish you all the best with it all!

    • @infinitious3609
      @infinitious3609 3 роки тому

      @@MattAspland Thanks for the kind words (motivating) - Thanks to you, I will become a game developer, God willing

    • @MattAspland
      @MattAspland  3 роки тому +1

      @@infinitious3609 Of course you will, no problem and good luck! You got this :)

  • @DrexDinisSG
    @DrexDinisSG 2 роки тому +2

    my ai kills me even if i'm in a locker

    • @katiekaliber
      @katiekaliber Рік тому +1

      Turn on the hidden check on the set actor hidden in game.

  • @juliaczarnecka1667
    @juliaczarnecka1667 3 роки тому +2

    this gives me phasmophobia vibes

    • @MattAspland
      @MattAspland  3 роки тому +1

      Haha yeah, it could definitely be used similarly

  • @faizshaikh4500
    @faizshaikh4500 8 місяців тому

    My camera is not moving

  • @supermariogolden6444
    @supermariogolden6444 3 роки тому

    Anything you imagine is on his channel

  • @fallguysfangamebyalexander4431
    @fallguysfangamebyalexander4431 3 роки тому +1

    Please tutorial create point zero of fortnite in ue4 , new suscriptor 😉

    • @MattAspland
      @MattAspland  3 роки тому +1

      Hey man, firstly thank you! Secondly, could you give me an example of what that is and does? I haven't played fortnite lol and the wiki just says about it being a story thing :)

    • @fallguysfangamebyalexander4431
      @fallguysfangamebyalexander4431 3 роки тому +1

      @@MattAspland look at this is the zero point and I have the 3d model , I just don't know how to import the textures :c
      Watch this video , this is the zero point: ua-cam.com/video/By0MsUcqujI/v-deo.html

    • @MattAspland
      @MattAspland  3 роки тому

      @@fallguysfangamebyalexander4431 Hey, sorry if I still don't understand, but what kind of mechanic would you be looking to create? Or is it just importing the model and textures into unreal?

  • @treppibob
    @treppibob 2 роки тому

    for me don't work, someone help?

  • @furrybproductions
    @furrybproductions 3 роки тому

    Will this work for 3rd person?

    • @MattAspland
      @MattAspland  3 роки тому +1

      Yep this will still work for third person as well. However the camera will go first person into the locker, however it will be third for the character when outside of the locker :)

  • @mr.generalx
    @mr.generalx 3 роки тому

    How to hide in a locker mobile edition please🥺

    • @MattAspland
      @MattAspland  3 роки тому

      Hey, this should still work similarly, just swap out the buttons to mobile buttons and how you control the movement via touch, which I believe should be in the blueprints already. Just swap the action and axis inputs :)

  • @mrdonnki119
    @mrdonnki119 3 роки тому

    i have a problem, i can get in but i cant get out. i have watched the tutorial plenty of times but i still cant find the issue. Does anyone here have a solution?
    EDIT: I fixed it ;D

  • @Сма_йлик
    @Сма_йлик 3 роки тому +2

    ;)

  • @snakeonpark
    @snakeonpark 3 роки тому

    Pls make unity version of this