I know this is 6 months ago lol but I am a software engineer and game dev is a whooole different ballpark to what most 'coding' is. But I get what you mean haha
this is hard but other stuff is easier just "jump force" is hard "gravity modfiers" are also hard but this code is also a advanced code so keep ur dreams it can be hard
Hey, if you have time could you please help me? I am making a game for a school project but every code I see just does not work for me... I don't know if I am doing something wrong but it says that there are no mistakes.
Not sure about the specific line of code but make sure that your assigning one of the float values of the vector and not the whole thing. float x = Vector3.x Not float x = Vector3
in the cinemachine component you will see a setting like y- axis x-axis and at the bottom right corner there will be a place where you can click inverted if this is clicked as on turn it off and your problem should be fixed
brackeys method has just become the universal way to make tps player, very good video, i have been searching for this for months.
This is just what I was looking for, thank you!
Me Also
i thought i wanted to learn coding, then something as simple as moving or camera movement is so aggravating
I know this is 6 months ago lol but I am a software engineer and game dev is a whooole different ballpark to what most 'coding' is. But I get what you mean haha
this is hard but other stuff is easier just "jump force" is hard "gravity modfiers" are also hard but this code is also a advanced code so keep ur dreams it can be hard
My Char isn't moving after adding the lines for gravity please help
Thanks a lot
It's the best Third Person tutorial on youtube :)
This is perfect!!
Need Help my character is floating above the ground in play mode.
please, Zoom in when you coding. The words and letters are very small. It is hard to see and read.
You had root motion on, animations dont change the position of your player unless you have root motion on.
I have one question my character cant use A and D to move sideways it just makes them move forward how can I fix that?
Edit the input settings
Hey, if you have time could you please help me? I am making a game for a school project but every code I see just does not work for me... I don't know if I am doing something wrong but it says that there are no mistakes.
discord.gg/dNeTt7uuHE
Post a picture of your code on the 3rd person movement channel on discord. And be more descriptive of what’s not working.
ThirdPersonMovement.cs(25,41): error CS0029: Cannot implicitly convert type 'float' to 'UnityEngine.Vector3'
Not sure about the specific line of code but make sure that your assigning one of the float values of the vector and not the whole thing.
float x = Vector3.x Not float x = Vector3
could you make a fps controller with full body animations
My Jump animation is not completing animating and get recalled multiple times please help
disable can transition to self in transition between any state into jump animation
It just ttells me that the name moveDirection does not exist in this context and also gives me an error CS0120
if (direction.magnitude >= 0.1f)
{
float targetAngle = Mathf.Atan2(direction.x, direction.z) * Mathf.Rad2Deg + cam.eulerAngles.y;
float angle = Mathf.SmoothDampAngle(transform.eulerAngles.y, targetAngle, ref turnSmoothVelocity, turnSmoothTime);
transform.rotation = Quaternion.Euler(0f, targetAngle, 0f);
Vector3 moveDirection = Quaternion.Euler(0f, targetAngle, 0f) * Vector3.forward;
controller.Move(moveDirection.normalized * trueSpeed * Time.deltaTime);
}
Saw this on an ad
how do you stop it from turning around when you want to move backwards in reverse of forward?.
in the cinemachine component you will see a setting like y- axis x-axis and at the bottom right corner there will be a place where you can click inverted if this is clicked as on turn it off and your problem should be fixed
Where i get the codes
can you give me all the code files
can we have the code
Thank you!!
You’re welcome!
Dosenot working
I love you
eyyy
this guy has got several errors and not showing them. Luckily, I could figure it out myselft. Still, thank you
I get an issue with the movement along the x axis being ignored. Can you confirm what errors you got and how you resolved them?
why do i fall so slow no matter what my gravity is set to
Why so fast bro
I just played it at .75 speed haha
not only that, he just reads code without any explanation on why he does what he does, it's silly