UE4 C++ Tutorial - Using Camera View Target - UE4 / Unreal Engine 4 Intro to C++

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ต.ค. 2024
  • This Video:
    In this video, we look at the use of the ViewTarget functions on the PlayerController class.
    Intro to C++:
    Intended to be the true intro to C++ for UE4. This playlist is intended to focus on one topic at a time and explain how, why, and when they work. Think of it as documentation in video form.
    Consider supporting the channel on Patreon: / devenabled
    Links:
    Download free projects from complete tutorial series and more: mega.nz/#F!imQ...
    Join the Dev Enabled Discord: / discord
    Get my new UE4 Beginners course: devenabled.tea...
    Beginner course now available on Udemy: www.udemy.com/...
    Chapters:
    00:00
    00:10 - Intro
    00:36 - View Target Header
    02:22 - Dynamic Binding Recap
    04:28 - View Target Code
    08:53 - Results
    Gamedev.tv Courses - Affiliate Links:
    Unreal C++ Developer: www.gamedev.tv...
    Unreal Multiplayer: www.gamedev.tv...
    Unreal Blueprints: www.gamedev.tv...
    Blender Characters: www.gamedev.tv...
    Get a FREE Pluralsight trial and support the channel: pluralsight.px...
    My First Pluralsight Course: pluralsight.px...
    My Second Pluralsight Course: pluralsight.px...
    My Third Pluralsight Course: pluralsight.px...
    Check out my Website: devenabled.com/
    Twitter: / robbcreates
    RECOMMENDED READING - Game Theory Books -
    Theory of Fun for Game Design: amzn.to/2Y7a29z (Personal Favourite)
    Game Feel: A Game Designer's Guide to Virtual Sensation: amzn.to/3159Dl5 (Another read I couldn't put down)
    Level Up! The Guide to Great Video Game Design: amzn.to/2MkxcC8
    The Art of Game Design, Second Edition: amzn.to/2JY6EVz
    Rules of Play: Game Design Fundamentals: amzn.to/2YcfsA7
    Game Programming Patterns: amzn.to/2YbXnC2
    Drawing Basics and Video Game Art: amzn.to/2Ml6FVb
    Sound Effects (BFXR): www.bfxr.net/
    Get Affinity Designer: affinity.serif...
    Get Unreal: www.unrealengi...
    Get Some great free assets here: www.gamedevmar...
    #ue4, #unreal_engine, #Cpp

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

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

    Get my new UE4 Beginners course: devenabled.teachable.com/p/intro-to-ue4/
    Beginner course now available on Udemy: www.udemy.com/course/unreal-engine-4-ue4-complete-beginners-course/?referralCode=FB8E232D20F4A087F6D5

  • @y.s753
    @y.s753 3 ปีที่แล้ว +2

    Great as always! Loving your C++ videos

  • @unrealdevop
    @unrealdevop 3 ปีที่แล้ว

    That's a really cool effect, I never even knew that function existed. I've never seen anyone cover it, great video.

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

    Amazing video. Just decided to join the Patreon. Worth it.

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

      Great to hear and thank you. A personal hello message is on its way.

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

      @@DevEnabled No need for that! That should be me who thanks you to enhance my knowledge of UE4 C++ framework. If I could ask for anything in the future I would ask for a short tutorial on how to pack code to plugins using interfaces and how to make different interfaces communicate with each other :)

    • @DevEnabled
      @DevEnabled  3 ปีที่แล้ว

      @@DominikMorse I already have a topic on Interfaces in this playlist. I can't say I've ever come across the need for multiple interfaces to directly communicate with each other but it would be the same. As for plugins, in case you weren't aware of it, Epic have their free online learning platform and have an entire course just for plugin dev: www.unrealengine.com/en-US/onlinelearning-courses/best-practices-for-creating-and-using-plugins

  • @madben
    @madben 3 ปีที่แล้ว

    Nice theme

  • @ViratBhaskar
    @ViratBhaskar 3 ปีที่แล้ว

    Amazing, can you do a video on AI perception and more.. making the AI detect the player character and other AI depending on visibility?

  • @afakkobyab5982
    @afakkobyab5982 3 ปีที่แล้ว

    thank you sir

  • @Kdd160
    @Kdd160 3 ปีที่แล้ว

    20k woohoo!! :D

  • @MrSinelnikov
    @MrSinelnikov 3 ปีที่แล้ว

    The reason ppl using cameras over regular boxes because they can control aperture, focus or any other camera related settings. Anyways thanks for sharing, I didnt know about `setViewTargetWithBlend()`

    • @DevEnabled
      @DevEnabled  3 ปีที่แล้ว

      As in, inheriting it from the camera that it's taken the transform of? That's an interesting use but could still be exposed on a much simpler custom Actor class.
      EDIT: Nevermind, I've just tested it and the FOV switch etc. are all automated. Very useful to know with some cool reults.

    • @MrSinelnikov
      @MrSinelnikov 3 ปีที่แล้ว

      @@DevEnabled does that mean you can change camera related settings in runtime using box camera ?

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

      @@MrSinelnikov I was thinking about it more as macking an Actor with properties exposed and passing the variables through class communication. But using a camera in the place like you mentioned allows all of that to be fully automated which is a useful feature.

    • @MrSinelnikov
      @MrSinelnikov 3 ปีที่แล้ว

      @@DevEnabled agree. Was thinking of camera which keeps char in focus by changing focal length(resident evil alike). I’ll try that myself to see differences

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

      @@MrSinelnikov Really interesting though, I'll have to dive deeper into the code as there's nothing to suggest that it will inherit anything specifically from a camera class. Thanks again for bringing that to my attention.

  • @v1InfinityGaming
    @v1InfinityGaming 3 ปีที่แล้ว

    Might have missed it but, do you have any videos on your character animation blend space used for the character in this video?

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

      No, the character was just something I added off-screen to make it a little more interesting than a cube. It's just migrated from the Hour Of Code project on the Epic launcher though. No changes made so you can get the same results easily that way.

  • @nierautomata9654
    @nierautomata9654 3 ปีที่แล้ว

    Can this be also done in blueprint only?

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

    if (DevEnabled) EXIT_SUCCESS;