Godot 4 Third Person Camera And Rotation Tutorial

Second part of Third person root motion series. I plan to update more for this mechanic. Stay tune.
Update: it seem i forgot to add "input_block" variable in the script. You can delete it or just declare var input_block = bool(false) instead. Sorry, rookie mistake 😅
Part 01 : • GODOT 4 ROOT MOTION MO...
You can test the compile project at www.mediafire.com/file/99bl84...
As for source code, you can get it at my patreon page:
/ brok3ncircuitproject

Пікірлер: 30

  • @user-zd6fe3ef5k
    @user-zd6fe3ef5kАй бұрын

    Best godot tutorials ever

  • @clashofclans9783

    @clashofclans9783

    Ай бұрын

    Him and Nagi

  • @FuuzBeeen
    @FuuzBeeenАй бұрын

    I was literally getting annoyed at my attempts with trying to get this going, but now that I came across this video, I look forward to trying it out, cheers dude :D

  • @redelixir9384
    @redelixir9384Күн бұрын

    Hello there. Just wanted to say that I am immensely grateful for your tutorials! Very easy programming to understand but also great explanations through drawings. Thank you for taking the time to help other to achieve what you have. Just know this will help a lot of us get better at creating games! :)

  • @Brokencircuitboard

    @Brokencircuitboard

    Күн бұрын

    Glad to help.

  • @firerunnew
    @firerunnew8 күн бұрын

    please post this project, it will be the base for all third-person games

  • @soothed.sedated
    @soothed.sedated7 күн бұрын

    thanks ! thats helped me alot

  • @t2pol904
    @t2pol904Ай бұрын

    Let's make godot 3d great!

  • @blepomorph419
    @blepomorph419Ай бұрын

    Nice. Fingers crossed on a tutorial that updates camera to go behind the player after moving in a certain direction for a while. That sounds like real trouble to figure out lol.

  • @StartGameDev
    @StartGameDevАй бұрын

    very good

  • @Brokencircuitboard

    @Brokencircuitboard

    Ай бұрын

    Thanks🙏

  • @ItzVic
    @ItzVicАй бұрын

    the stop animation is a bit exaggerated when moving 1 step, but this is really good nonetheless

  • @Brokencircuitboard

    @Brokencircuitboard

    Ай бұрын

    We can blend it better based on player speed. Too complicated for basic tutorial, maybe later.

  • @Sashye111
    @Sashye111Ай бұрын

    Nice Video, pls add 8 way directional movement too

  • @Brokencircuitboard

    @Brokencircuitboard

    Ай бұрын

    Noted.

  • @THEDEVBOIS
    @THEDEVBOISАй бұрын

    ran across this im only following along still havent tested the player scene yet but as im following along i cant seem to figure out how you got to attach camera target to camera its because i do not have the option to do so. it was the same for the other video i kept going nonetheless but now you did it a second time and its bugging me that i cant figure it out lol S.O.S

  • @Brokencircuitboard

    @Brokencircuitboard

    Ай бұрын

    To assign camera target at 2:11 you need to save the camera script first.

  • @THEDEVBOIS

    @THEDEVBOIS

    Ай бұрын

    ok i think i figured out my prblm i didnt “@export var pitch max And pitch min”🤦🏽‍♂️

  • @THEDEVBOIS

    @THEDEVBOIS

    Ай бұрын

    @@Brokencircuitboardhave a question you have if(inputdir != Vector3.ZERO and !input_block): im getting back an error saying inputblock not declared in current scope meaning that i didnt set a variable for it but through the hole tutorial you never put an input block for a variable so now im confused what does input block represent in the code. do i just make a variable under player parameters and call it var input_block = Vector3()

  • @Brokencircuitboard

    @Brokencircuitboard

    Ай бұрын

    @@THEDEVBOIS just delete it. It's not use in this tutorial.

  • @matthewirizarry1425
    @matthewirizarry1425Ай бұрын

    Where is input_block declared in the script?

  • @Brokencircuitboard

    @Brokencircuitboard

    Ай бұрын

    That are left over of the completed script. You can remove it.

  • @matthewirizarry1425

    @matthewirizarry1425

    Ай бұрын

    @@Brokencircuitboard Thank you!

  • @TheSkatingAces
    @TheSkatingAces12 сағат бұрын

    Hey I'm getting the error ""camera_T" not declared in the current scope."?

  • @TheSkatingAces

    @TheSkatingAces

    12 сағат бұрын

    in this context: #Movement input camera_T = camera_target.global_transform.basis.get_euler().y inputdir = Vector3(horizontal,0, vertical).normalized() if(inputdir != Vector3.ZERO): direction = Vector3(horizontal,0, vertical).rotated(Vector3.UP, camera_T).normalized() anim_canmove = true else: anim_canmove = false velocity = root_velocity move_and_slide()

  • @Brokencircuitboard

    @Brokencircuitboard

    12 сағат бұрын

    @@TheSkatingAces 5:14 check there.

  • @ZaMboo_9t5y
    @ZaMboo_9t5yАй бұрын

    can you make your project for free?