Opening Door Script in Horizon Worlds!

Поділитися
Вставка
  • Опубліковано 16 лип 2021
  • In today's video we will be using Occupied and Empty to open and close a door, at the end we explore rotations in Horizon and how to make a constantly rotating object.
    New to Scripting?
    • Let's Start Scripting
    New to Horizon's Creation Tools?
    • Let's Start Creating (...
    If you have any questions don't hesitate to ask! :)
    Checkout out the documentation on the Vidyuu wiki:
    horizon.vidyuu.com/app/page/1...
    Download the PDF Here:
    www.dropbox.com/s/bdoyuxl6fm4...
    Support Us On Patreon:
    / vidyuu
    Amazon Affiliate Link:
    Oculus Quest 2: amzn.to/3kNscFt
    Like Us On Facebook:
    / vidyuu
  • Навчання та стиль

КОМЕНТАРІ • 59

  • @RockYourTeeth
    @RockYourTeeth 2 роки тому +9

    Thanks. I spent 2 hours trying to figure this out myself.

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

    I love the physical example you had at the end! ^^ it really helped me understand it better!

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

      Thank you so much, so happy to hear this! 😁😁

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

    Thanks! I used your door tutorial in my Horizon World “Lake Retreat”! 🤓

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

    400 subs, congrats!

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

      Thank you so much Mikey!! Still hard to believe, I truly am blown away by all the support we get, thanks for being apart of the Vidyuu fam! :)

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

    This is so much easier than the counting! Woot!!

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

      Right!?! 🎉🎉

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

    I followed step by step and got it! Thankyouuuu

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

      Congratulations! And thanks for watching 😁💜

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

    What degree would you use for a sliding door? Like an elevator door however my building is one level.

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

    Thank you ! Can you make a tutorial for horizontal doors (like an elevator door) ? Thanks 👍

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

    Is there a way to add to this script to add a lock so it'll only open with a key? I can't figure out how to do this.

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

    Hey bro. I have an idea for a game but I needed some help scripting it. Do you take commissions?

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

    You are always so unbelievably helpful! The more advanced script at the end, could that be used to animate a garage door?

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

      We’ve definitely used this for garage doors, but our garage doors hide above the garage, and inside the wall… I think it would be nearly impossible to design a garage door that behaves like a real garage door due to the bending that a garage door does as it’s putting itself onto the ceiling… You could pull it off if you want to spend a lot of time working on math and also use a bit of simulation and animation.
      Coming to think of it, it might even be best to use scale to, which is how we do curtains on stages, this allows you to shrink the wall so that it’s flattened and hidden in the ceiling … Let me find that video :)

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

      Facebook Horizon: Interactive Curtains Tutorial
      ua-cam.com/video/1u4Yym1g73s/v-deo.html

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

      @@Vidyuu You are amazing. Thank you so much! 🥰

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

    Hello. Thank you for the amazing Tutorial. If you could help me with one thing I would be so grateful. HOW DO YOU HAVE AN OBJECT ENTER A TRIGGER AND HAVE THAT ACTIVATE AN ANIMATION??? EX: Key opens door.
    I can not remove the OBJ in the script or add anything in its place.

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

    How do you make a sliding door?

  • @RELee-gc1ds
    @RELee-gc1ds 2 роки тому +1

    Hi Vidyuu! I am having issues connecting the hinge for some reason. I've done everything, everything is right but for some reason I absolutely cannot get the door to stop opening like a garage door, and swing open like a normal door. I know its an axis issue, but *shrugs* I dont know how you get it to swing on that axis. I asked while in Horizon and was directed here (though I've already watched the videos, wrote down each step and modeled in in my create worlds, just that ONE thing...it wont swing open, and I was told that you had a pack that you could send to with the doors included). Are you still doing that? Thanks for reading!

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

      Definitely, what’s your Oculus username and I can add you to the pack, there’s actually a door in there that already swings open correctly… so you could just replace it with your door. But if you’ve got it opening like a garage door, in the properties panel for the rotation value, you just want to change the axis it’s applying the rotation to. For instance if it currently says 0,90,0. Try using 90,0,0. Etc.

    • @RELee-gc1ds
      @RELee-gc1ds 2 роки тому +1

      @@Vidyuu Right! Funny you say that! While waiting your reply I figured the only thing I hadn't tried was moving the 90 around. I put it in the second property panel and the door swung the right way. I'll add my username anyway though. I've decided to just watch all your tutorials first, lol! I appreciate you getting back to me and helping. Thanks! Username: Lux_Nifty

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

      @@Vidyuu Can you PLEASE add me to the pack for the door. This tutorial goes super fast. My Horizon name is YattaYatta

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

    For some reason I don’t have a trigger gizmo. Do you know if I need an update or something to get it?

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

      Try scrolling down, either click and flick the menu, or point and use your thumbstick... let me know if this helps :)

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

      @@Vidyuu I restarted the app and I needed to update it. Not sure why it wasn’t there the menu may have just gotten stuck. Thanks for the help I got my door made. Your videos make the scripting so much more digestible.

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

    Do u have a course outline developed for a person interested in getting started

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

      Great question! 😁 I recommend you start with our Let's Start Building Series:
      ua-cam.com/video/0m63U1YCiyI/v-deo.html
      Then we have Let's Start Scripting:
      ua-cam.com/video/vI9X1le-tzg/v-deo.html
      And there is also some great information available here:
      www.oculus.com/horizon-worlds/learn/

  • @TheLycan.
    @TheLycan. Рік тому

    I have followed this to the letter and at the end there is always a little red x next to the first "set to" bar. How do I fix that?

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

      Taking a screenshot and share it to our Discord under "Creator Support"
      discord.gg/v6hcQ9DtDv

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

    So i followed this tutorial and it worked amazing, however when i put it in a doorway it opens in all weird ways and doesnt function properly, any ideas why?

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

      Interesting, you may need to adjust the rotation by amount.... I suspect it is something small, can you send a screenshot to me on Facebook to take a quick look:
      facebook.com/Vidyuu

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

    Now that was extremely hilarious that women put on a great job acting

  • @dameiontrump-torres9125
    @dameiontrump-torres9125 2 роки тому +1

    This was almost exactly what I was looking for thank you so much. I was also wanting to know if you have a video on how to do this with an object instead of a player?

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

      This should help :)
      Let's Start Scripting: Teleport Key (Facebook Horizon)
      ua-cam.com/video/_ezDZhfrfZM/v-deo.html

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

    Can you make a video to script an object for only a certain player or players are able to grab and object

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

      Hope these help, if not let me know! 😅😁
      Creator Tools & VIP Doors
      ua-cam.com/video/g1K9EyELw64/v-deo.html
      Set Who Can Grab
      ua-cam.com/video/aGmsnrvl09s/v-deo.html
      Who Can Grab Objects & Who Can Grab From Holder
      ua-cam.com/video/yINwUVSwEfw/v-deo.html

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

    😊

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

    When is the next scripting class

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

      Tuesdays and Thursdays in the evening :)
      *not sure of the exact time but you’ll find Tuesday in the attend tab

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

    Oh PLEASE Help I've followed this step by step ... it WORKED ..... I Was SO PLEASED..... THEN I grouped it and tried to place it in the doorway I wanted it to go and 😢 it over rotates and won't sit properly.... I can see in build mode where its supposed to be but it won't stay 'in the box' 😖 3 days now 😖

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

      I am so sorry to hear that, please consider joining our Discord, we have an awesome and active community that loves to help. The #creator-support and #scripting-general channels are where I would go first. Consider tagging @Laex05 there, he is the creator of this tutorial :)
      Two things to also consider trying, ungrouping the door, and clicking stop reset play in the build menu. The over rotating has me puzzled though 🤔
      discord.gg/v6hcQ9DtDv

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

    Hi, would you explain how to create a trigger where if a user crosses its path a projectile shoots them and sends them back to the respawn point?

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

      This might be a fun one for our Sunday live stream, join us at 4/7 PM PT/ET :-)

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

    my door opens 45 degrees even it at 90

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

      That is extremely strange, double check your script to make sure the variable is reference correctly, and also check on the object itself to see if it has a unique parameter, as when you type in a parameter on the object properties panel it overrides what you type in on the script panel. There’s an X box next to the variable on the object property panel to clear it out 😁

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

      @@Vidyuu I Fixed it THANKS

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

    i somehow got here idk how

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

    hes going so fast at explaining

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

    As a beginner, this went wayyyyyy to fast for me. Lol

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

    All this to open a 🚪

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

    lol my door doesn't work but I spent an hour copying you lol... I dont know what I have done wrong... lol damn

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

      I’m sorry, consider coming back fresh to have a second look, is it just not opening? Make sure you have a plid param in the event…and that the door is referenced 😅

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

      @@Vidyuu I will definitely have another go. It might have to do with my rotation point but i snapped it together... I might just end up animating the door with a trigger, but this is more advanced so i wanna learn it. thanks for the response.

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

    the last examples are too glossed over, you really have to spend more time on euler and quaternions as well. none of this would be a big deal if horizon worlds had better forward kinematics. maybe in the future?