Easily Position Objects with the Help of Mathematical Functions (Unity Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • In this tutorial we're going to look at a really useful feature in Unity, that allows us to use mathematical functions to position groups of objects.
    Help support our work:
    ► Patreon: / ketragames
    ► Ko-fi: ko-fi.com/ketr...
    Follow us:
    ► Ketra Games: www.ketra-games...
    ► Patreon: / ketragames
    ► Twitter: / ketragames
    ► Facebook: / ketragames
    #KetraGames #LearnUnity #UnityTutorials #UnityTips

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

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

    How did no-one ever mention this before? These are super useful tips. Wow. Thank you!

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

      Great to hear, thanks 😊

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

    Never knew about this, thanks for cool video!

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

      Thanks for this comment 😊

  • @D-Dev
    @D-Dev 2 ปีที่แล้ว +4

    Wow, can you send link to any documentation site where we can read more about it? And maybe find more formulas. :)

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

      Hi, you can find more detail in the docs here
      docs.unity3d.com/Manual/EditingValueProperties.html
      docs.unity3d.com/ScriptReference/ExpressionEvaluator.html

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

    This is great! Will come in handy when used in conjunction with my personal custom Level Editor tool (for a simple puzzle game). I've tried searching for docs on this (to determine if other functions exist, whether they can be stacked, etc.) to no avail. Could you please advise where this is documented? Thnx!

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

      Hi, glad you found it useful. You can find details of the supported functions in the docs here
      docs.unity3d.com/Manual/EditingValueProperties.html
      docs.unity3d.com/ScriptReference/ExpressionEvaluator.html

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

    Thanks! I never knew this was possible. Should be useful in future.

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

      Glad to hear this 😊

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

    I don't believe this works for rect transforms. >.< The gods laugh at my ambition to speed up UI development.
    To be clear the X+Y formula works on rects, the other stuff is a nope.

    • @UmarFarooq-jn7dt
      @UmarFarooq-jn7dt 2 ปีที่แล้ว

      gotta live under the rock for some time until they fix it xD

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

    🤯

  • @priyankab.v7568
    @priyankab.v7568 ปีที่แล้ว

    Great video !! I'm using unity 2019.4 and not able to apply these things. Does 2019.4 unity version not support the math functions in transform components?

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

    what in everything unholy.... I've been using unity for atleast 6 years, and this is news to me...

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

    l like video u r brilliant and i need more tips on unity engine

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

      Thanks for this comment 😊

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

    Thank you. I didn't knew that we can do these things.

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

      Glad it was useful 😊

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

    This is God Tier information

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

      Thanks for this comment 😊

  • @tech.curiosity
    @tech.curiosity 2 ปีที่แล้ว +2

    WoW i didn't know that was possible to do, thanks a lot.

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

      Great, glad it was useful 😊

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

    That feature is completely useless because nobody knows about it. It's bad UI design. That info isn't in the tooltip, neither on the help website that opens up when you click the question mark of the transform in the inspector. The very least Unity could do is reference to the Editing Properties doc from the Transform doc.
    But thank you very much for the tutorial! That's very helpful 😊

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

      Agreed, it is a bit too hidden 😊

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

    THANK YOU SO MUCH THIS ONE WAS PERFECT And Helpful . plz share more like this

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

      Great to hear, thanks 😊

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

    where can we see all of these formulas we can use in the inspector? also im sure meny wuld like to join your discord server if you ever make one.

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

    QAQ it doesn't seem to work on Rect Transform

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

    This is the coolest thing I ever saw in unity

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

    Thnx very much... ^^
    i knew you could put mathematics in like 1+1 .. 10*10 etc... ^^
    Cant believe i have never seen it like this and no one every mentioned it before !!!

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

      Glad you found it useful 😊

  • @UmarFarooq-jn7dt
    @UmarFarooq-jn7dt 2 ปีที่แล้ว

    Feels like I was living under the rock writing down all these values with +x to space out items! Life HACK !!

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

      Glad it was useful 😊

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

    Wow, Thanks for this video. Truly helpful

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

      Thanks, glad you found it helpful 😊

  • @Diamond-yn4nu
    @Diamond-yn4nu ปีที่แล้ว +1

    Mor PLz

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

    Excellent!

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

    WOW! Thanks for this!

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

    This is awesome! It will definitely help a lot of us with placing down prefabs in the scene.

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

      Great to hear, thanks 😊

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

    I've only been using unity for about 3 days learned so much from you and your vids short and to he point amazing work from a complete noob lol

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

      Thank you, glad you're finding the videos useful 😊

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

    This is ultra sanity and time saver

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

      Great to hear 😊

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

    Thank you so much for sharing! this is really helpful.

    • @KetraGames
      @KetraGames  6 หลายเดือนก่อน +1

      Great to hear, thanks 😊

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

    first time seeing this.
    wow.
    how on earth did you know this!!!?

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

      Glad you found it useful 😊

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

    Such preety voice :) And usefull video

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

      Thank you 😊😊

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

    I recently found the docs on this (maybe first saw this functionality somewhere on Twitter), seems like a pretty new feature, but it is indeed really awesome! Good vid

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

      Where did you find the docs for these?

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

      ​@@iveseenjc03 wasn't easy because it is a subsection of another page. In the manual look up "Unity's Interface -> Editing Properties" and then "Numeric field expressions"

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

    Unity+ math= 😫

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

    oh my Goooood.... I never knew this! that's so cool

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

      Brilliant, thanks for this comment 😊

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

    Thanks for sharing all the epic tips

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

      Thanks for this comment 😊

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

    Whaaaaaaaaat?! 🤯

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

    Incredible tip, can't believe I have never heard of this extremely useful feature! So much time wasted by manual object positioning in the scene... Thank you!

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

      Glad it was useful 😊

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

    Crazy useful Unity tip! Thanks so much.

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

      Thanks for this great comment 😊

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

    Your tutorials are of the best I have seen. I've been doing online education since 1981 through the wellspring program, attending classes at universities around the world. You show the exact way to do something including all the steps.

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

      Thanks so much for this comment 😊

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

    are you from england?

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

    I love your videos you’ve taught me so much in like 4 vids 🖤

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

      Great to hear, thanks for this comment 😊