FIRST PERSON MOVEMENT in 10 MINUTES - Unity Tutorial
HTML-код
- Опубликовано: 6 фев 2022
- FIRST PERSON MOVEMENT in 10 MINUTES - Unity Tutorial
In this video I'm going to show you how to code full first person rigidbody movement. You can use this character controller as final movement for your game or build things like dashing, wallrunning or sliding on top of it.
If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also subscribe to this channel if you want to see more tutorials like this one.
Links:
➤ DOWNLOAD the SCRIPT: www.mediafire.com/file/1b7mf5...
➤ DOWNLOAD the PROJECT (in the free-code-dave channel): / discord
➤ DON'T CLICK: bit.ly/2VcrDZt
➡️ Get Access to my full MOVEMENT LAB!➡️
➤ Trailer: • MOVEMENT LAB - Unity P...
🏹 Get Access to my RANGED COMBAT LAB!🏹
➤ Trailer: • RANGED COMBAT LAB - Un...
Other interesting videos :D
➤ THROWING Grenades, Knives and Other Objects - Unity Tutorial): • THROWING Grenades, Kni...
➤ FULL 3D ENEMY AI in 6 MINUTES! || Unity Tutorial: • FULL 3D ENEMY AI in 6 ...
Support me on Patreon:
➤ / davegamedevelopment
#UnityMovement #FirstPersonMovement #UnityTutorial
This tutorial was great but one small problem. I couldn't get the capsule to jump until I compared my script side by side with your script and noticed that in the video you do not say to add the following line to Start()
readyToJump = true;
You might consider updating your description so people know. I spent awhile trying to figure it out comparing everything I did from the video before I gave up and looked at your script.
edit: this was a year ago, still getting thanks to this day. never expected to get this much support, thank you all for the 1k likes. means alot. good luck on your movement systems everyone!
yeah I noticed it too and was so confused, why it didn't jump, thanks for the heads up
You helped me alot thank you.😘
Hey, I added this, but I still cannot get the capsule to Jump, even tried with the movement script in the description, still doesn't work, do you have any solutions? Everything else works just fine.
Had the same issue. But great tutorial!
@@whitehook5450 do you have your ground layer set to, "whatIsGround"?
If you need help with any of the code shown, just visit the "coding-help" channel on my discord server :D
Also you can find many more movement tutorials on my channel in the "Tutorials!" playlist - I really hope they help you on your further GameDev journey!
And in case you're interested in getting access to my full MOVEMENT LAB, where I combined all of the movement abilities shown in the tutorials and some more, check out the trailer:
➡ MLab Trailer: ruclips.net/video/9_Q9UxK7VF8/видео.html
Also, since I know lot's of you are interested in ranged combat as well - I can gladly announce that I'm about to release my RANGED COMBAT LAB as well:
🏹 RcLab Trailer: ruclips.net/video/j2YplilHjCA/видео.html
Thanks so much for watching, hope this tutorial has helped you!
What is your discord?
@@Choo_Choo_Oreo Check the link in the Description under "Download the Project"
Thanks a bunch! For someone like me who's absolutely new to programming in unity I'm appreciative that this is low-level enough for me to able to understand why each piece of code is being inputted.
i dont even know how to make a script for the cam
@@Kwakky69 i dont even know where to put the script
I was doing my own FPS controller without any guidance and everything was alright but some weird camera jitter so I decided to check how everyone was tackling the camera. I never thought of having it outside the hierarchy of the player. Now I have 0 problems amazing idea!
for anyone struggling with the player sticking to walls; Make a Physic Material with little to no dynamic friction (I used a value of 0.1 with Friction Combine at Minimum) and assign it to the player's Collider. You can experiment with different friction values to find what works best for your game
for me I needed to apply it to the slopes as well
@@mlgjman1837 how do you mean? If you set the Friction Combine to minimum it will use the smaller value of the 2 colliding objects, so it should be enough to just apply it to the player directly.
Unless you are talking about some other problem.
Am i too dumb to understand this
@@Carl-Randomness the player is sticking to the walls because of friction, the friction is too high for the player to keep their momentum so they get stuck.
By making the player have less friction they can slide across the wall
@@Hietakissa Oh thanks
Just found your channel. Thanks for all the tutorials you're doing and keep it up!
Thanks a lot!
Your methods are so simple! I've ran into multiple problems with syncing the camera with an object that has a character controller before. Similarly, I had to do mental gymnastics just to figure out how to move the player based on the camera's perspective. Having an object whose only function is to keep track of orientation saves a lot of mental work and is definitely a game changer. I need to think like that more! Glad to have found this tutorial. Great stuff man!
i gotta ask, i for some reason have copied the exact code and my character doesn't move, im rather new to this and just started learning today, is there something im missing thats just common sense?
Thanks a lot Dave, appreciate the fact you're providing this content, and consolidating it to only 10 minutes so we can crunch through it. Its a good way to work.
All the best!
Glad you liked it!
This was an Amazing guide, and it helped a lot with my first game!
Glad I could help!
this is the first time i've ever finished a unity tutorial lol hell yeah motivated af now
Let's go! I also started by following youtube tutorials :D
I looked at over 10 videos, but this... this is just the best. Keep up the great work!
this is the best movement tutorial ive been able to find since Brackeys, thank you :)
great videos, I'm using this tutorial to check I didn't create my player controller in an unscalable way and its helped a lot. Thanks for the video chief.
No problem, glad I could help!
oh your finally back after 1 year
pls continue making content your doing good
Thanks.
Yes I'm finally back :D Glad you enjoy my content!
I appreciate how there’s no ads, thanks.
thanks for the tutorial!!
if yall can't jump you can put "readyToJump = true;" in Start() or just when you create the variable initialise it to true ("bool readyToJump = true;").
if ur jumps are huge and fall slowly, i found that increasing the rigidbody's mass in Unity helped, I liked 1.6 but tweak it for yourself. also tweak the jumpForce, i'm at 10.
Man, you just fixed my problem which I've been struggling with for 2 hours, tysm
i have the same problem but i dont get what your saying can you give me help there was 2 ready to jump = the first one was false and the second was true i changed the first one to true nothing happened i tried copy pasting ("bool readyToJump = true;") under but there was an error so i deleted it
Thank you very much for the code! I got to test each part on my own after watching your full vid. When following other youtubers as they code (Cuz code not provided) I always ended up messing the copy so I can't test it properly. Thank you once again!
Glad I could help!
This is very good I just started coding in unity and I understand the code very well with this!
Good enough guide. Got me 90% of the way there. Nice product. smooth realistic movement.
its amaaazing bro its just a very clear and easy tutorial THANKS KEEP GOING 😄💖
After some time, i finally found a useful tutorial on detailed fps controller, thank you so much for this tutorial
No problem, glad I could help!
if you have a problem with the ground check then just add an empty game object at the bottom of the player then write this:
grounded = Physics.CheckSphere(groundCheck.position, groundDistance, whatIsGround);
with these as variables:
public Transform groundCheck;
public float groundDistance = 0.4f;
public LayerMask whatIsGround;
bool grounded;
i got this from brackey's fps tutorial btw and it seems to work nicely with this script.
Yeah that works just fine, thanks for helping others out!
@@davegamedevelopment np dude! i love helping people out!
i love you, man :D
@cuitotech no you don't have to you can just put it in the playermovement script in the same place where he put his ground check
Thanks dude , very cool.
I don't often thumbs-up videos but this one deserved a big one
love you, thanks for doing such amazing tutorials man
Thank You bro I needed this 💪🏾
Glad I could help!
@@davegamedevelopment exited for next weeks video 🤩
For anyone that has stuttering / jittering issues with their camera: There are 2 options how you can fix it
• Remove the "* Time.deltaTime" from the PlayerCam Class where getting the input
• Replace the "* Time.deltaTime" in the PlayerCam class with "* Time.fixedDeltaTime"
I would like to know why it is not the same? The math is the same though, right?
@@consultingprestig2096 I dont know the exact difference but I think the Input handler by unity already does the frame indenpendence stuff for you, so you dont need the time.deltaTime
@@_ace55 Ok thank you. I also have another question; Every time I work on a project and I come back to it later there are always mistakes... I wonder if it's on their part to demotivate us from creating games... And let rockstar and all those known to keep the place of number 1? .. I say that because I don't understand how is it, with all the assets already done, that there are no games similar to GTA or Call of duty... Because these games are too loaded with server...
@@consultingprestig2096 I can't tell if youre joking
@Consulting Prestig That's the first Unity conspiracy theory I've heard so far xD
Thank you so much for the tutorial. Even after a year it's helping folks like me. And what's best is you already made the next video and I can go watch it.
Did you make it so the camera works? I swear I did everything in this video, and everything works but the camera doesn't.
@@xuanki1Yes, the thing to remember is the mouse movement is connected to the camera, not the body. I've watched one where the guy had the camera stationary and the player needed to bend down to see. that's bogus and can't work in a real game.
Thank you DAVE, this video helped me really much.
Great tutorial 🙌🏻🔥
Thanks!
i Cant wait for the next tutorial broo !!❤️
Glad to hear that!
man you probably wont see this but you have no idea how helpful these videos are. thank you so much!
are you a developer if you are i can give you any unity project or asset that is on my chanel for a very cheap price that we end up with after bargaining there is no one on youtube doing this and it would be with proofs and have a refund policy to if you have a better excuse
Thank you, I watched many videos and none worked because it bugs, but your script worked
+1 sub
Thanks for this, just what I was looking for!
Glad I could help!
@@davegamedevelopment very much so! Finished implementing the jumping today, very chuffed! 😊
you are on fire bro
nice tutorials and you got a subscriber right away
Thank you so much!
I just watched ur video now and it was wat av been looking for bro..... thanks champ
Just wanna thank you i am in a group projekt and the guy that was supposed to make the code didn't do any work so I had to do it in two days with no codig experience so just wanna thank you for saving my projekt
Thank you for your complete and comprehensive training. Very good!
The speed control help alot man, thank so much.
No problem, glad I could help!
@@davegamedevelopmentI need help the speed check has and error and says vector 3 can not be float
BROOO thankyou so much, this really helped and the tutorial was really easy to use as well :)
Fantastic video. Thank you Michael, You have inspired to get into soft editing and videos soft design too.
You sound alot like brackeys
Haha I know :D
That's what i'm sayin
U know how brackets stopped yt, so maybe he made another channel so he can continue in disguise
No, not really
He really does
Thank you so much for breaking all this down. Please keep up the good work.
Thank you for watching :D
For anyone having trouble with the Jump function : we just have to set readyToJump to true when we begin (its not shown in the video)
thank you I was so confused on why my jumping wasn't working!
Thank you!
I wish I saw this comment before spending half an hour figuring that out!
People really gotta like and comment on this comment so it gets higher in his comment section so others can find it faster!
thank you so much, this comment help me so much
Thanks for the help, I could not figure it out lol
Wow what an acNice tutorialevent! Best of luck for the rest of your future, I’m looking forward to being able to invest when I turn 21 in November!
Couple of things, first off. thank you for making this video, it helped a lot!
Second, I couldnt jump.
Tried to check if i was grounded and played with the variables for awhile, but I had some issues finding out if i was grounded and the consol log was really confusing so i used this code in the Update() section :
Debug.Log(grounded);
if (Input.GetKey(jumpKey))
Debug.Log(jumpKey);
it helped me confirm real time if i was grounded or not so i could alter the varibles until i was actually grounded, and if the game was registering me pressing space bar.
However i was unable to jump because I initially did not have "readyToJump" set to true.
I fixed this adding this code to Start() section
ResetJump();
tysm u rly helped me out!
Appreciate the help for others!
I followed what you said, and I'm still having trouble jumping, idk else to do, also first time coding
You can also just set the variable to true when declaring it.
Just helped me out, thank you!
This is perfect. I hope you upload everything you showed at the beginning.
I'm planning to do so yes :D
THANK YOU SO MUCH THIS WAS EXTREMELY HELPFUL :D
Glad I could help!
Hey Dave. Great little tutorial. Unfortunately I could not adapt it to fit my current script but do keep making tutorials :). PS Happy Belated New Year
This man is the new brackeys no cap. Seriously though, amazing tutorials.
Thanks a lot, that's about the highest compliment you could give me :D
@@davegamedevelopment you even sound like brackeys. I sense potential
That said, I can imagine a DGD branding for merch!
I followed this to the letter, and I had jumping like I was on the moon. I did solve it myself by downloading the original source files and I found that the global value for the Gravity's Y value is set to -30. For a default project it set to -9, so this is an omission in the video. You can find this setting under Edit -> Project Settings and just make sure its set to -30 and you'll be back on earth lol.
i changed it to 30 and the jump height didnt change
@@nemorururur change it to -30
I got the opposite i jump .1mm off the ground
@@olly-o3810 I depends on the scale of ur object too. If ur player is really big you'll have to scale up ur jumpForce
you fucking legend. was having this same problem
Your explanation is very clean and clear Thx
Thank you very much, your explanations made me understand some basic concepts!
For people who struggle with jumping and the drag not being applied to their movement.
Check if "grounded" is always false despite being on the ground. If you have set up everything accordingly it might be the issue that the raycast is starting at the same height (player-position at 0, 0, 0 in my case) at which the ground is placed as I am using a nested player object (collider and graphics as child objects). In that case the raycast may "skip" through the ground hitbox and as such "grounded" will never be set to true. Tldr: you can not jump and the "groundDrag" will never be applied.
To fix this: On the Physics.Raycast() - modifiy it to give it an elevated starting position, so it starts inside the player object (a so called skin width).
For example: grounded = Physics.Raycast(transform.position + new Vector3(0, 0.05f, 0), Vector3.down, playerHeight * 0.5f + 0.3f, whatIsGround);
// make sure to set the player object and its children to another layer than "whatIsGround"
Here I get the current position from the player by transform.position as demonstrated in the video and code but then I immediately add 0.05f up the Y-axis which makes it start slightly inside the player and always above the ground so it should never "skip" through it. You can also use a variable for this to avoid hardcoding the value. After this it worked perfectly fine for me and I hope it helps some of you as well 👍
Thank you so much, I couldn't figure out why my jump wasn't working and grounded never was true! Life saver fr
thank u so much
i was crying
Debugged for 30 minutes and found this issue too since I figured the player position should be at the feet when I made the capsules.
still doesnt work did everything
I played dying Light 2. I don't like how the controller feels. So now I'm trying to understand how movement, vaulting, etc. works. Then make an obstacle course, code in the movement and tune it until it feels fun.
Sounds nice, you've came to the right place :D
but honestly I do want to eventually make a hockey/ice-skating game so the part up to 4:54 is pure gold. Now at least I got a nice head-start on that. Amazing tutorials. Subscribed. Can't wait for more
Good video, amazing help. Thank you.
If you are still having trouble with "penguin sliding" after adding drag double check the position of your capsule in your player holder, if like me you moved the capsule at some point to align things it moves the starting point of the raycast with it, so make sure your capsule has 0,0,0 for position.
For me my capsule was 0,2,0 and as such my raycast was starting lower then my player. I found this out by starting the game, then hitting esc to free my mouse then change to scene view, I then selected my player holder and unchecked "use gravity" to allow me to drag my player holder up while looking at 'Drag' in the Rigidbody and after my player was hovering ~1 unit in the air my Drag jumped from 0 to 5 which is what my GroundDrag was set to at the time
THANK you!
Thank you, this was beginning to annoy me lol
Thank you. That was the problem for me.
This man puts out high-quality, easy to follow, informative videos. Absolutely love it. Can’t believe you don’t have 1 mil+ subs
Thank you so much! :D
Ya
@@davegamedevelopment The First Person part works but for some reason my camera changes positions on game start. The camera changes to being under my terrain plz help.
@@davegamedevelopment brillant!
@@JaydacapTV download the script
Hi Dave... thanks for an amazing tutorial
wow thank you so much. no joke it is now so much easier and u explained it really good.
Here is (maybe) why you cant get your jump working how you want it to be:
Go to edit -> Project Setting -> Physics and set the Gravity Y value to -30
I had it set to -9.81 on default but Dave is using -30 in his video (if you want to have the movement just like in the video)
ty
Tip: If you player is sticking to walls, create a Physics Material and set all friction to 0 and then apply that to your walls
Where is Physics Material? I can't find it :( I found only Physics Material 2D
@Juka not sure why this didn't cross my mind too. Good suggestion
I will try it thanks
I added it to the blayer capsule colider
Amazing Tutorial! Thanks!
This is awesome man, thank you
If your player is sticking to walls add a physics material to the player mesh collider and set the physics materials settings to 0,0,0 minimum, and minimum. Hope this helps!
thanks that worked
Thank you very much . This is a REALLY smooth controller I really hope ep2 will come soon . bty do you know how to make air strafing and ramp slid like Demoknight Trimping in TF2 and CSGO.
Thanks, glad you like it!
I know the mechanics you're talking about but never really tried coding them. Try googling for "Csgo Air straving Code", but you need to be quite good at vector maths for this :D
when i typed in soft soft tutorial i did not expect it to be tNice tutorials good thank you so much aaaaaaa
Love your tuts 😁😍🤩
for people who didn´t understand this part (1:38), the yRotation is the Axes that gonne rotation, and gonne encrease and dencrease using the xMouse, who will recive the value according the mouse movement, if you don´t understand yet, the yRotation, is a line on the Y axes and if you imagine a object rotation on the Y axes, you gonna see that the object gonna rotate on X coordinates Axes
cant really understand the comment tbh
Thank you, that was helpfull. I think i got it now xD
bro i dont understand the comment
In case someone needs this in clearer English: the X axis of the camera is up and down, while the Y axis is left and right. When you add to the X axis of the camera, it moves up -- but the mouse y axis is "inverted", and moving the mouse up in this scenario would move the camera down. So you subtract instead of add, to make the directions match up. Since horizontal rotation is already matched, you just add. This works for both directions (i.e left AND right) since left is just a negative reference while right is a positive one. So for the x axis of your mouse, left = -, right = +, stationary = 0. The same concept applies to the vertical rotation, but can be a little confusing from the subtraction.
if anyone is having a problem that their player jumps too high and falls too slowly go to Project Settings -> Physics and sety the y value to something even lower i found -30 worked darn good for me
Thanks! I had fun flying all over the place tho :)
For me, -20 worked much better
Instead of changing the gravity of the entire game just add the fall multiplier to the specific rigidbody you want to change
Great tutorial! Super easy to understand!
هلا والله بالعرب
bro you are so amazing!
Thank you so much the movement is very smooth.
For the jump i had an issue where it didnt work although the script had no error
I fixed that with putting resetJump() in Start()
After that i realised i could keep jumping higher and higher if i held Space
It has to do with this code : grounded = Physics.Raycast(transform.position, Vector3.down, playerHeight * 0.5f + 0.2f, whatIsGround);
Change the "playerHeight * xf" depending on your playerHeight both the variable and the playerObject
Hope this helps :)
Thank you so much for saving my time :D
i dont understand. What do i change?
@@SpiritualSteve you should make the changes in the player movement script
@pridful it says that "xf" does not exist in current context how do i fix it?
@@ache7795 copy your original code andmake this, if code get error, paste it old code
thanks you so much this was sooo helpful but I had a problem with jumping
Glad I could help! Did you manage to fix the problem? If not, you can download the project file over my discord server and copy the exact setup, then everything should work :D
@@davegamedevelopment oh thx, every thing is now fine :D
Great tutorial it helped me so much
Best videos ever
Thanks :D
for anyone struggling with the camera being outside of the player, make sure that the camera holder and the player cam objects are at the same coordinate
anyone struggling with the player not jumping, add readyToJump = true; to Start() and make sure the player starts while touching the ground
thx
thank you
I tried that and the camera is still outside of the player
Thank you so much for your awesome tutorial.
You are a godsend, Subbed!
It's always fun to see different solutions to the same problems. Well done!
I wouldn't say auto jump while holding the jumpkey was a missing feature in a player controller, but it's nice that you covered the concept.
intro 0:00
camera 0:27
movement 3:22
drag & speed control 5:16
jumping & air control 7:27
thx :)
ok
@@akiprox7_trollgeandtrollfa640 ok
@@the_original_kikiplayzwaffles oh
@@JATEK0S ok
Loved it!
I needed this I switched from ue5 to unity cuz it seems more practical in some ways but I still didn't master the coding still learning so yeah thanks man
"A transform for the player's orientation"
I died at that moment
Haha I guess you need to watch some basic tutorials on Unity Variables First :D
Great! Do you know how to emulate the step offset found in character controllers so the player can walk up small steps?
It's a bit tricky, but I'll Cover it sometime soon :D
Try putting two empty gameObjects.
one at the feet and on at the knee.
don't ask me how to find the knee and the feet of the capsule, just do it your self. Then copy this script:
Rigidbody rigidBody;
[SerializeField] GameObject knee;
[SerializeField] GameObject feet;
[SerializeField] float stepHeight = 0.3f;
[SerializeField] float stepSmooth = 2f;
private void Awake()
{
rigidBody = GetComponent();
knee.transform.position = new Vector3(knee.transform.position.x, stepHeight, knee.transform.position.z);
}
private void FixedUpdate()
{
stepClimb();
}
void stepClimb()
{
RaycastHit hitLower;
if (Physics.Raycast(feet.transform.position, transform.TransformDirection(Vector3.forward), out hitLower, 0.1f))
{
RaycastHit hitUpper;
if (!Physics.Raycast(knee.transform.position, transform.TransformDirection(Vector3.forward), out hitUpper, 0.2f))
{
rigidBody.position -= new Vector3(0f, -stepSmooth * Time.deltaTime, 0f);
}
}
RaycastHit hitLower45;
if (Physics.Raycast(feet.transform.position, transform.TransformDirection(1.5f,0,1), out hitLower45, 0.1f))
{
RaycastHit hitUpper45;
if (!Physics.Raycast(knee.transform.position, transform.TransformDirection(1.5f,0,1), out hitUpper45, 0.2f))
{
rigidBody.position -= new Vector3(0f, -stepSmooth * Time.deltaTime, 0f);
}
}
RaycastHit hitLowerMinus45;
if (Physics.Raycast(feet.transform.position, transform.TransformDirection(-1.5f,0,1), out hitLowerMinus45, 0.1f))
{
RaycastHit hitUpperMinus45;
if (!Physics.Raycast(knee.transform.position, transform.TransformDirection(-1.5f,0,1), out hitUpperMinus45, 0.2f))
{
rigidBody.position -= new Vector3(0f, -stepSmooth * Time.deltaTime, 0f);
}
}
}
Thankyou for actually explaining tNice tutorialngs. Other videos that I watched started talking about how to make soft and didn't ntion anytNice tutorialng
Wow you're not just typing code but also explaining them. Great. I am a python programmer so I can grasp this language easier than expected.
Great video, thank you so much!
In the Update function, if you are ever stuck between two things and NOT grounded, you can insert this code to become unstuck and jump.
// if movement hasn't changed since last frame, set grounded to False
if (rb.velocity.x == 0 && rb.velocity.y == 0 && rb.velocity.z == 0)
{
grounded = true;
// this is to prevent the player from becoming stuck
}
If anyone is having trouble with having really floaty jumps where you fall really slowly, here's how to fix it:
Go to Edit -> Project settings -> Physics -> Gravity Y and change this Y value to something even smaller (for me -29.43 works pretty well, which is 3*(-9.81) so three times the normal gravity)
You're welcome!
THIS IS SOOO GOOD!!!
Dude, You are the best!!
It's the fifth time i watch this to help me start my projects, so a big thanks to share your knowlage with us. I just have allways a small issue : Does thats normal that my player (capsule) dosen't follow / rotate himself with the camera and the movement ? (he move and jump perfectly, its just on the visual the capsule dosen't rotate).
I followed the steps up until air control and jumping and when i press play i cannot move my character. I downloaded the movement script from the Desc. and i have applied and completed the player camera and camera movement scripts.
very helpful and simple man.. i tNice tutorialnk i'm gonna see all your videos
Thank you!!
The moment i change from a capsule to a player model i couldnt jump anymore, adding ResetJump(); on start helped with making the capsue jump but not other models, even if i added the collider to the model (capuse collider) the 'fix' was to add the capsule collider directly to the Player, not the PlayerObj, for some reason that worked
Thank you for the very amazing guide!
I'm trying to make my first game, so this really helped!
I've heard a lot of nice things about the new input system, and can see that it has some clear strengths. I am however not at a level, where I know how to create what I see in this video, in the new input.
Is there a chance you could give us a walkthrough on how to do that:)?
Glad I could help you! And I'll think about covering the new input system :D
@@davegamedevelopment Please do!
🔥 Thank you!!
Garrett Evans Wow thank you Garrett, you've made my day!
Great Tutorial your videos always help me! It worked on looking around, but I’ve done everything you did for the x and y movement and I still can’t seem to move? Any idea why?
Did you create the whatIsGround layermask? :D
No, I didn’t realize that was needed. Thanks!
I got the movement to work, but I don’t move in the direction I’m facing, I move where the camera is pointing in scene (even if I’m facing backwards and I hit w I’ll go backwards)?
@@iceb5743 That's how this controller works, but it's easy to change, just put your player graphic into the orientation Objekt (everything in there will rotate with the camera)
Thanks a lot!