Комментарии:
Is there a way to make the rotation stay after you let go of the joystick? My character always snaps back to its default rotation
ОтветитьIt'd super hard for me to look at unity tutorials after the stunt they pulled. Don't want to be locked in the next time they want to steal everyone's money for using their engine.
ОтветитьI just started learning Game Dev, It Helped a lot, Thank you
ОтветитьHi, my player doesnt move and i need help. theres nothing thats giving me an error in the output, im not doing the joystick just the wasd and im also using a 2d sprite in a 3d environment ive got my camera to orthogenic because im trying to make a pixel roguelike but im making it in a 3d environment like enter the gungeon but this has been giving me a headache all day please help.
ОтветитьNever thought a lightmode-user would make something so helpful.
ОтветитьGreat Video! thanks a lot!
Ответитьhow did you make those grids on your plane/ground?
ОтветитьDown vote for click bait image.
ОтветитьHi! Thanks for great tutorial. I have a problem indeed: i tried to add a cinemachine camera to follow my player instead of writing a code, and now my camera rotates together with my player. Is there anything i can do about it?
ОтветитьHello ! Does anyone know what could explain my player falling through the ground when I play the game ?
Ответитьif my game is using an isometric perspective, how can i make the player movement corrospond to the screen rather than the world?
ОтветитьIncredibly designed tutorial, it's exactly as detailed as it needs to be and it's super concise. I hope you keep making more stuff!
ОтветитьIf youre doing this in 2D and the rotation isnt working, change the LookRotation parameters to this:
Quaternion.LookRotation(Vector3.forward, movement);
thank you so much! been trying to get this right for hours
ОтветитьAll of the unpopular channels are sometimes gold
Ответитьthe world space part confused me, is it neccasary?
Ответитьhow did you create the ground?
Ответитьyeah this doesn't work at all lol
ОтветитьSimply awesome my man, thanks!!!!
ОтветитьI won't let mee get the 2D Vector Binding I need help
ОтветитьMy input is not being recognized, both on the keyboard and the on screen joystick. I have everything set up the same. Any ideas what it could be? I am using Unity 2021.1.17f1
ОтветитьI followed this tutorial correctly and it is not working. Please help!
ОтветитьI think this is the first time in years i see someone writing codes in light mode.
ОтветитьVery good Teaching bro
ОтветитьI was looking for this because I want to upgrade from rpg maker to unity by making the same concept of game but without the limitation and in 3d.
ОтветитьThis tutorial is shit. In the player Input default map, it says "none" and I just cant change it.
ОтветитьSpent hours trying to figure out how to make VS work with C#. Fuck it. I've been around computers all my life but for the life of me, I just can't make it work. This is stupid.
ОтветитьWhen I type "UnityEngine.Input" I get "Action" instead of "System".
Then, in OnMove(Input...) I get "System" instead of "Action". Also, CallbackContext wont come up when I type ..
Readvalue wont come up either. Translate either. Nothing works. I've installed everything, rebooted, nothing.
Great vid!
If anyone wants to get rid of the additional speed when going diagonally, modify this line to keep the movement magnitude at 1:
Vector3 movement = new Vector3(move.x, 0f, move.y).normalized;
Super
ОтветитьDon't have event system how to make it
ОтветитьWhat is the 3D game in the very beginning of the video that goes after 2D Stardew Valley?
ОтветитьThank you so much for creating such a clear, concise tutorial. Just what I was looking for.
Ps. I'd recommend putting camera follow in Late Update as well to avoid any jitter.
Painfully underrated tutorial
ОтветитьIf I'm using keyboard to steer the player, the turning is really snappy, what can I do to smooth it even with keyboard controls?
ОтветитьGreat Video
ОтветитьThe option to select the onMove() function does not appear for me. I've followed all your steps up until selecting it, do you have any idea how I might fix this?
ОтветитьPlease upload more tutorial like multiplayer,2.5d,open world,gun system.
ОтветитьThank you man, this was really cool! I'm using 2 players, one controller and one keyboard so I just made one script for each of them.
ОтветитьIt says move does not exist in current context is there something I did wrong?
ОтветитьTo stop the rotation from return to its original rotation, I simply made it like this:-
if (move.sqrMagnitude > 0.1f)
{
Vector3 movement = new Vector3(move.x, 0f, move.y);
transform.rotation = Quaternion.Slerp(transform.rotation, Quaternion.LookRotation(movement), 0.15f);
transform.Translate(movement * speed * Time.deltaTime, Space.World);
}
Hope this helps 😁😁
If anyone have problem with collision detecion while you using character controller, try this:
public CharacterController controller; //sign gameobject player with character controller
in movePlayer()
change transform.Translate(movement * speed * Time.deltaTime, Space.World);
into controller.Move(movement * speed * Time.deltaTime);
Btw great tutorial :)
the camera will more easy if you use cinematic
ОтветитьHelped me a bunch, amazing tutorial
Hope you keep it going