Recentre the Camera on Key/Trigger Press Using Cinemachine (Unity Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

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

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

    Fr this channel is so OP

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

      Thank you 😊

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

    If the recenter to target option is missing check "lock to target on assign" is set in the Orbits > binding mode of your cinemachine camera. It doesn't appear under different settings.

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

    Hey Ketra Games could you please do a tutorial on how to insert melee combat mechanics with the input system based on the character movement script you guys already made tutorials about? That would be helpful

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

      Thanks for the suggestion. We'll definitely add this to the list of future videos 😊

  • @ArcticWolf82
    @ArcticWolf82 4 หลายเดือนก่อน

    thank you again so much for these video tutorials, you are amazing!
    for the " left ctrl works but Right Trigger on gamepad does not" bug on the PS4 controller. use axis 5 instead of 10. it is the same PS4 controller bug that causes the camera to spin wildly with no input. anyway I hope these comments save someone a headache. Thank you again looking forward to more.

    • @KetraGames
      @KetraGames  4 หลายเดือนก่อน

      Thanks very much for this comment and for sharing your fix 😊

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

    Can you pls make the video about creating a hitbox for fighting games? I watched so many tutorials but still struggling on that😑

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

      Thanks for the suggestion. We'll add it to the list 😊

  • @Jnox.f
    @Jnox.f 2 ปีที่แล้ว +2

    Ketra ur tutorial is awsome

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

      Thanks for this comment 😊

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

    hi, I love your tutorial, I watched most of them for my assignment. Can you make that characters collect coins or points? btw thank you so much for this tutorial.

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

      Hi, we're working on a video for collectables at the moment. It should be released in the next couple of weeks 😊

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

      @@KetraGames Thank you so much, love to heard that

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

    This tutorial made my life much easier!

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

      Glad it was helpful 😊

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

    I don't have these settings in my settings: "Recenter to Target Heading" for xAxis?

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

      Hi, it should be there. Are you using an up to date version of Uinty/Cinemachine?

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

      It won't show up unless "Binding Mode" is set to "Lock To Target On Assign."

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

    Awesome tutorials - explanation, easy and quick tips, presentation, everything.....
    Thank you
    Please make more awesome tutorials for 2D and 3D also for C# too.
    Thank you again.............

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

      Thanks so much for this comment 😊

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

    Thank you!

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

    Watched the tutorial and thanks for sharing it!
    If I may be free to bring up some future ideas: You might adapt to the (new) Input System, which would abstract the mappings of left ctrl on keyboard & right trigger on gamepads into actions. But probably it would also require to redo more things currently present 😅

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

      Thanks for the idea. We started the series with the old input system as we thought it was a bit easier to get up and running with for a beginner, but now the series has moved onto more complex topics and the new input system is well established, so it's probably a good time to do a video showing how to upgrade to the new input system 😊

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

    Hi Ketra, great video! If you could help me with an issue, I used the scrollwheel click for the camera recenter, but when I press it, it only recenters the camera a little bit, I have to keep pressing to recenter all the way. Any idea to resolve this problem?

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

      Hi, you could try adding a delay before you turn the recentre off again. You can invoke a method after a set amount of time -docs.unity3d.com/ScriptReference/MonoBehaviour.Invoke.html
      Hope that helps 😊

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

      @@KetraGames It worked! Thank you so much! Just finished the 3D course and I learned a lot, I'm trying to challenge myself to do something outside the course, and want to know if you can help me a lit bit more. I'm trying to make my character fly when double jump, and when it's on the air, hold a broom beneath it (my character is a witch). Could you explain me what do I have to do/search so I can achieve this "mission" ?

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

      Hi, if you want to have various states such as double jump and flying I'd suggest you look into how to implement a State Machine. It will really help you to easily add additional functionality to your character.

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

    Which input is for the Left Trigger?

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

      At 1:42 use 9th axis instead of 10th axis

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

    i cant do this in Cinemachine 2.8

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

      Sorry to hear this. I'll have to have a look at updating the video at some point

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

    Awesome! Thank you.

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

      Thanks for this comment 😊