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
Best godot tutorials ever
@clashofclans9783
Ай бұрын
Him and Nagi
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
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
Күн бұрын
Glad to help.
please post this project, it will be the base for all third-person games
thanks ! thats helped me alot
Let's make godot 3d great!
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.
very good
@Brokencircuitboard
Ай бұрын
Thanks🙏
the stop animation is a bit exaggerated when moving 1 step, but this is really good nonetheless
@Brokencircuitboard
Ай бұрын
We can blend it better based on player speed. Too complicated for basic tutorial, maybe later.
Nice Video, pls add 8 way directional movement too
@Brokencircuitboard
Ай бұрын
Noted.
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
Ай бұрын
To assign camera target at 2:11 you need to save the camera script first.
@THEDEVBOIS
Ай бұрын
ok i think i figured out my prblm i didnt “@export var pitch max And pitch min”🤦🏽♂️
@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
Ай бұрын
@@THEDEVBOIS just delete it. It's not use in this tutorial.
Where is input_block declared in the script?
@Brokencircuitboard
Ай бұрын
That are left over of the completed script. You can remove it.
@matthewirizarry1425
Ай бұрын
@@Brokencircuitboard Thank you!
Hey I'm getting the error ""camera_T" not declared in the current scope."?
@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
12 сағат бұрын
@@TheSkatingAces 5:14 check there.
can you make your project for free?