Third Person Ledge Climbing with Unity & Playmaker

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • Buy Playmaker for Unity(affiliate links):
    assetstore.uni...
    New Assets on Asset Store! (affiliate links):
    assetstore.uni...
    Buy me a ko-fi:
    ko-fi.com/romi...
    Check out my Udemy course!! Link below (12.99 - 14.99 USD):
    (Create a 90's Point & Click Adventure Game using Playmaker - Newest)
    www.milkishgame...
    (Create a Rail Shooter Game with Unity
    www.milkishgame...
    (Create a 90's Point & Click Adventure Game)
    www.milkishgame...
    (Create a Shoot-Em-Up Game)
    www.milkishgame...
    And Skillshare course for skillshare members!
    www.skillshare...
    Disclaimer: Asset store links above are affiliate links. If you purchase a product through one of them, I will receive a small commission (at no additional cost to you).
    ____________________________________________________
    #unity #playmaker #climbing
    Hi there,
    In this video, let's continue work on the Third person Zelda BOTW-ish movement, and let's implement the ledge grab and climb the easy way!
    AnimatorHelper script:
    pastebin.com/F...

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

  • @adrianmoreno2354
    @adrianmoreno2354 4 года назад +8

    Playmaker is a very powerful tool even for people claiming you just cannot build an entire game using this alone, however I am very disappointed by the lack of you tube videos like yours that make full series on how to build game genres using this tool only, compared to the tons using C#. Keep the good work! :D

    • @RomiFauzi
      @RomiFauzi  4 года назад +2

      Thank you so much buddy! yeah I agree is quite powerful, I still prefer C# though, but for non coders Playmaker really helps, and there are lots professional and successful games developed using Playmaker, so it is production ready.

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

    Hi Romi, can I ask why the empty objects that are targets for the hands are positioned like that? did you decide this based on the position of the hanging player? Could you also place them directly on the edge of the cube? Could you help me understand?....and thanks for these free videos

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

      Hi Ragnar, yes I placed it based on the hanging and climbing animation, I need to take into account for the previous motion of the hand, so it sits well with the environment ledge model. The value or the position I got it from testing it a couple of times.

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

      @@RomiFauzi Thank you very much Romi for the explanation

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

      @@ragnar8871 no worries, you're very much welcome!

  • @DEITYCOMING
    @DEITYCOMING 3 года назад +1

    How about fixing a character falling down slowly denying gravity xD ? Any solution?

  • @yousefsaleh3562
    @yousefsaleh3562 3 года назад +1

    What if the 2 rays touched but he was not in the ledge

  • @SAndy-gz8tx
    @SAndy-gz8tx 2 года назад

    Very Very Good tutorial , Thanks for this tutorial !

  • @CLEISON304
    @CLEISON304 2 года назад

    If you put a look at the object a state before it every time it enters the collider type it looks at so it will always look at this state because it leaves quickly just to get the position facing the object

  • @Anthonyspartan514
    @Anthonyspartan514 2 года назад

    My character plays the animation gets locked for 2 seconds and doesn't finish the whole animation before falling and not being on top of the pillar please help

  • @craigza
    @craigza 3 года назад +1

    Hello! 😁 Do you know any good logic for if the player lands against a wall (bools both are true) but they're not close enough to a ledge to climb it? Such as if the tower was twice as tall in your example.

    • @RomiFauzi
      @RomiFauzi  3 года назад

      Hi, I'd probably make the player slide down, or if they are not to far from the ledge, make it so it tries to climb and grab the ledge.

    • @craigza
      @craigza 3 года назад

      @@RomiFauzi Right :) but to do either of those the player would need to know how close the top of the ledge is, yes? 🤷‍♂️

  • @choisikar_2071
    @choisikar_2071 2 года назад +1

    Hey ! Thanks for this tutorial you're explaining it very well ! Sadly i'm facing a problem, everything seems to look fine, the climb animation plays and my character is "sticked" to the wall for 2 seconds as it is expected to, but at the end of the 2 seconds the character just fall back on the ground and doesn't change his position to the top of the object. Could you tell me what can be the problem ? Thanks !
    Edit : Ok, after some tries, i found out that i needed to change the climb animation type to Humanoid. However, I remember that i left it on generic on purpose because the animation doesn't play when I switch any of my animation to Humanoid :/
    I just can't figure out what i am doing wrong, can you save me pls ? (i imported my unrigged character on Mixamo and exported it rigged and animated under the format "FBX for Unity")

    • @RomiFauzi
      @RomiFauzi  2 года назад

      Hey, you're welcome! As for the issue, could you try switch it back to generic, but try both option with the root motion of the animation clip enabled/disabled, and see which one works.

    • @RomiFauzi
      @RomiFauzi  2 года назад

      As for the animation doesn't work when switched to humanoid, you will also need to changed the avatar settings on the FBX model also to Humanoid.

    • @choisikar_2071
      @choisikar_2071 2 года назад

      @@RomiFauzi Thanks for your replies ! I changed the animation type back to Generic and I tried differents options for the root motion node :
      -on and on the climb animation displays but the character keep falling back on the ground.
      -on mixamorig:Hips the animation displays aswell and the character moves on the top of the object but is flying around while climbing it.

    • @choisikar_2071
      @choisikar_2071 2 года назад

      @@RomiFauzi And for the model I imported every animation with the skin and used one of them by dragging it on the scene so i don’t have a character without animation and on T-Pose. Should i have imported the character in T-Pose and the animations without the skin to apply them on the unanimated character ?

  • @angryhead7639
    @angryhead7639 4 года назад +1

    Thank you brother

  • @TheAlmostCrimes
    @TheAlmostCrimes 2 года назад

    I'm having an issue with the float compare getting stuck. It just freezes on this part and the character gets into an endless loop of jumping

    • @RomiFauzi
      @RomiFauzi  2 года назад +1

      If you are comparing float with equal operator, often it will never returns true and this will lead where the FSM stuck in a state. Best way would to approximate the equal value, this can be done by using to float compare, and compare it with greater on one action and less on the other one, with a range of value intended to be compared, this way it will behave like an approximate, and send both event to the same state.

  • @danielepappalardo4951
    @danielepappalardo4951 3 года назад

    can you make a video to climb up walls smaller than the character? .. because on low walls it is really difficult to change the animation according to the height of the wall. Maybe you need to use IK? do you know how to do it?

    • @RomiFauzi
      @RomiFauzi  3 года назад +1

      Yeah definitely needs to use the IK, I haven't tried this, so I'll need to experiment it first but I'm currently busy so I'm not sure if I can create a video regarding this soon..

  • @einooooo7005
    @einooooo7005 2 года назад

    Can you please make video how to walk on stairs with playmaker 🙏💚

    • @RomiFauzi
      @RomiFauzi  2 года назад +1

      an easy way to do this is to use a ramp as the stairs collider, then the character will be able to walk on it.

    • @einooooo7005
      @einooooo7005 2 года назад

      @@RomiFauzi
      Thanks bro for replying 🙏
      Can you send your FB link to connect with you if I face a problem, 🙏 I just a beginner 😅

  • @SAndy-gz8tx
    @SAndy-gz8tx 2 года назад

    AnimatorHelper script For Animator Root Motion x , y , z Axis Animation Translate Offset ! How To For Animator Root Motion y Axis Rotate Animation ? Thank You

  • @heridevelops7041
    @heridevelops7041 4 года назад

    Makasih banyak Bang Romi

  • @boldfrog82
    @boldfrog82 4 года назад

    Thanks

  • @MarioSStudio
    @MarioSStudio 3 года назад

    hm Ik hands doesnt work :(

  • @CraneHeree
    @CraneHeree 3 года назад

    Hi, i have a problem, i cant get the yellow line even when debug is turned on

    • @RomiFauzi
      @RomiFauzi  3 года назад

      You need to enable the gizmo button on the game view to show the line

    • @CraneHeree
      @CraneHeree 3 года назад

      @@RomiFauzi it doesnt work, i dont know

    • @CraneHeree
      @CraneHeree 3 года назад

      @@RomiFauzi i need to carry on my project

    • @RomiFauzi
      @RomiFauzi  3 года назад

      Could you make sure, the player is selected when testing? some gizmos will only be shown, if the related Game Object was selected.

    • @CraneHeree
      @CraneHeree 3 года назад

      @@RomiFauzi No, it still doesnt work, but in the SiampleScene i can see "DontDestroyOnLoad" when i testing, what is it

  • @SAndy-gz8tx
    @SAndy-gz8tx 4 года назад

    Dear Romi Fauzi , Please Add Zelda Throw enemy with Playmaker Tutorials ! Thank ^-^

    • @RomiFauzi
      @RomiFauzi  4 года назад

      I'll see what I can do..

  • @bonfacemuriithi6057
    @bonfacemuriithi6057 4 года назад

    cool

  • @YE55INE
    @YE55INE 4 года назад +4

    I mean if I was to do this in C# it would probably take me 1 day to understand the code , write it and get it to work
    god bless playmaker

    • @RomiFauzi
      @RomiFauzi  4 года назад

      Yes, C# can be quite daunting, so use tools that is the easiest for you. I like also coding myself however using C#, but playmaker really helps me understand programming when I started learning C#.

    • @YE55INE
      @YE55INE 4 года назад

      I'm fairly new to Object Oriented Programming as well as Unity and since i'm used to C and made a 2D Game engine with C I felt that OOP is very very different.. anyways thanks you for the tutorial i'll be following your Third Person video series there are lots of stuff you can cover on it! Quests/Missions system , inventory etc I hope you have a nice day and thanks again!