How to make an FPS CONTROLLER in UNITY using the NEW INPUT SYSTEM

preview_player
Показать описание
Thank you so much for hanging out while we continue to innovate and make the world a more interesting place with awesome games and development!

-----------------------------------------------------------------------------------

Join me on Social Media!
IG: followlithex
Рекомендации по теме
Комментарии
Автор

Finally something on FPS controller after 5 days of extensive search. Thank you😭

IGN_Gaurav
Автор

3 videos in 5 days, i am blessed.

For the merch, i'm thinking of a hoodie with the unity default cube at the back and the Lithex logo at the front.

thebiggoliath
Автор

Keep the good content coming my dude great stuff. Simple and easy

GrimReaper
Автор

this deserves way more views way more likes and you deserve way more subs you legend thanks a lot.

abdulkarimqureshi
Автор

first one i found which actually works tho as soon as player walks up the stairs it wont stay on ground when trying to go back

D_Addict
Автор

Great tutorial! Helped me quite a lot understanding the new input system.
How can I make the mouse turning look a bit smoother tho? I have the impression it's quite snappy and not so smooth.

mynameisxboard
Автор

Wait, didn't we talk about making this video like... yesterday? The day before? When did you get so quick with the editing?

But either way for the merch I vote for a 3D printed figurine of a character from LP's next game release!

Arsne
Автор

Hi! I've seen some people working on a similar way when creating a player controller (lambda expressions, sometimes using the InputAction window and later reference the actions, sometimes creating the Actions directly from the player controller MonoBehavior), but the docs and some Unity official videos shown a different approach (using the PlayerInput script and UnityEvents). Is that just a matter of preference or does it have any benefit to not do it the Unity way?

themaskyyt
Автор

I'm having an issue where when I create a new script, open it up, the "MonoBehaviour" word isn't colored, it's just white.

I thought maybe it won't matter so I copied exactly how you have your code up to

using UnityEngine;
using UnityEngine.InputSystem;

public class NewBehaviourScript : MonoBehaviour
{
[SerializeField] private InputAction movement;
}

But "[SerializeField]", and "InputAction" are also not colored so I think it isn't registering them for what they are maybe?
lmk if you have any ideas on how I can fix this.

yric
Автор

Dude wtf, I keep getting a NullReferenceException: Object reference not set to an instance of an object when trying to make the turning methods

teatotics
Автор

I can't get the Y axis to work so I can only see on the x axis

griffbmo