Unity 3D - Moving Platform Tutorial

Поділитися
Вставка
  • Опубліковано 27 жов 2024
  • Join the discord!
    / discord
    In this video you will learn how to create a moving platform for your game.
    You can copy the full code here:
    pastebin.com/L...
    If you have any question feel free to ask in the comments.
    If you liked the video and would like more, please consider subscribing!

КОМЕНТАРІ • 26

  • @css2014
    @css2014 3 роки тому +3

    It worked !! thank you :) keep going the great work

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

    It actually functions, i have been searching for this a long time!

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

    Thank you very much, i had been wanting to solve the problem where my player fell from the platform for a long time. I do not know anything about english but thanks to your code and the subtitles i have achieved it!

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

    I don't get it. I parented my player to the moving platform, but the player still just falls off.

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

    Aaaaaa Thank you very much bro!!!, the best code tutorial! you save me!!!

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

    Amazing. is this working for third person?
    :) Thank you very much for the detailed explanation. I subbed

    • @Dogma427.
      @Dogma427.  3 роки тому

      Thank you! Yes it works for third person.

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

      @@Dogma427. Hey! :) I make it and it's perfect! Is there any chance you show how that lasers were made? I need something similar

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

      Sure I will do it today or tomorrow

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

    When I do it in vr it doesn't work, I use an XR Origin, it also doesn't work with a character controller either

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

      I make gorilla tag fan game and i just fall off

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

    nope.... it justs slips away

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

    it work! Thank you! I used this to move a cannon heheeeeeee

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

    the associated script cannot be loaded please fix any compile errors help please!

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

    it works but when it gets to the end or start it just stops moving after that Please

    • @Dogma427.
      @Dogma427.  3 роки тому

      Sorry for the late reply. If you did everything correct most likely is because the platform cannot get to the endPoint due to something beeing in the way. Try moving the endPoint position. If you need further help you can contact me on the discord server discord.gg/7wd9xMhD

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

      @@Dogma427. thank you. It turns out there was something in the way of the end and start point

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

    Thanks!
    One Question, how do you move your player? with rigibody or characterController?

    • @Dogma427.
      @Dogma427.  3 роки тому

      CharacterController, I have a video showing how I created it. " Fps movement and camera

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

      @@Dogma427. wait does this work with rigidbody or no?

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

    And what do I do if my animation is in a loop? Without point "A" and "B"

    • @Dogma427.
      @Dogma427.  3 роки тому

      It should work the same, just use the part of the script that makes the player a child of the platform. Don't forget to add the collider.

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

    Helppp i went trought the floor

    • @Dogma427.
      @Dogma427.  3 роки тому

      Check if you added a collider to the platform and that the player also has a collider, without further information I cannot guess what you are doing wrong. You can join the discord and share your code there if you still have problems.

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

    Gracias Bro! estoy suscripto, muy buen! y por que compartis el script.
    Bendiciones!