How To Rotate Meshes Through Materials in Unreal Engine 5

Поделиться
HTML-код
  • Опубликовано: 30 окт 2024

Комментарии • 25

  • @otempora7163
    @otempora7163 Год назад +2

    For anyone else that needs it, i believe he is using a "ScalarParameter" node, took me a moment to realize what's going on there since i think he is using shortcuts for it or something.
    ty for nice video.

    • @Wardson
      @Wardson  Год назад

      Yup, pressing S with a right click will create scalarparam, as it removes the need to convert into parameter if needed. Thanks for pointing out!

  • @reitokenvideogamecreation7655
    @reitokenvideogamecreation7655 5 месяцев назад +2

    Simple and clear!! Thanks

  • @gudakoccc2596
    @gudakoccc2596 8 месяцев назад +1

    Thank you man!!!!!!

  • @HeisenbergWalter-u4d
    @HeisenbergWalter-u4d 4 месяца назад +1

    thank you soooooooooo much bro you saved me

  • @kentuckyvapors464
    @kentuckyvapors464 10 месяцев назад +1

    THIS IS frickin EPIC SAUCE upvoted

  • @alisalari3339
    @alisalari3339 Год назад +1

    Thank you man

  • @rickfuzzy
    @rickfuzzy 8 месяцев назад +1

    Excellent

  • @charlottenewman-ux4pr
    @charlottenewman-ux4pr 4 месяца назад

    I am trying to rotate on the Y axis but the shader isn’t complying - is there an alternative setting?

  • @FlavioDiniz
    @FlavioDiniz 8 месяцев назад

    4:09 my UE5 is crashing when I connect multiply with Rotation angle (v3) 🤔

  • @stewwatch6305
    @stewwatch6305 5 месяцев назад

    Great tutorial! But I want to spin text around a sphere without using a blueprint. I can only get the sphere to turn, but if I attach a text (converted to a static mesh) nothing happens. Is it possible?

    • @Wardson
      @Wardson  5 месяцев назад

      I'm not sure as what exactly you mean by 'text around a sphere' but if you change the pivot point of the text to the center of the sphere and apply the material to it, you should be able to rotate it around the given sphere.

  • @Xeyner13
    @Xeyner13 Год назад +1

    What if you want to rotate it in another axis? Setting the vector3 in rotation axis node is not really changing anything. Thank you!

    • @Wardson
      @Wardson  Год назад

      Technically, you can rotate on X axis which should also mean it rotates about on Y (as it'll depend on object's rotation on transform properties). Its worth noting that 'Origin Point' of the object is main thing you want to look at. You could still use a Z Rotation but change the pivot so it rotates on the desired axis. As for rotating it on the X through shader, you want to plug 'X-Axis' output to WPO and make sure your vector 3 has Red channel on 1 and the rest on 0. The reason why Y doesn't work is actually because it inverts the normals instead. As said, changing the pivot is the easiest way, or setting it on X would technically also mean it rotates on Y. Tho the X will cause weird rotation on anything other than 0-90-180-270 rotations.

    • @Haytham918
      @Haytham918 Год назад

      @@Wardson so if i want to rotate Y axis what would I do? please

  • @Jhill-3d
    @Jhill-3d Год назад +1

    That's awesome. Using this method, any way to allow the user to rotate the object with the mouse?

    • @Wardson
      @Wardson  Год назад

      You could create a blueprint to adjust the parameters of the material, however it technically defeats the purpose as you could just rotate the object through a single blueprint class. This way is just more convenient for visual objects, e.g. coins or loot drops.

  • @DaxiUEFN
    @DaxiUEFN 7 месяцев назад

    how can i make it rotate in y-axis?

  • @fake22444
    @fake22444 10 месяцев назад

    can I do mesh up and down with rotation?

  • @littledemo3605
    @littledemo3605 4 месяца назад

    scale, transition too

  • @saeedzamani1503
    @saeedzamani1503 22 дня назад

    the point is when you rotate the object it goes wrong because the material is working with world position not local

    • @Wardson
      @Wardson  22 дня назад

      @@saeedzamani1503 You can use world position if you want to rotate the object based on it's real time position at any given time, however we're using Object Position in the video therefore the object's pivot point is taken.

  • @MetaBim
    @MetaBim Год назад +1

    +