#2 FPS Raycast Interactions: Let's Make a First Person Game in Unity!

preview_player
Показать описание
The second video in the Lets Make a First Person Game series!
🖐In this video we are going to setup the foundations for our interaction system.

Come Join us on the Discord!

💚 Thanks for watching!

Helpful Links
Рекомендации по теме
Комментарии
Автор

Hey Everyone! I have only just realised there is some footage missing from the video!!!
You may encounter the error "'InputManager.onFoot' is inaccessible due to its protection level".
if you have this error you just need to change 1 line in the InputManager script.
Change this -> private PlayerInput.OnFootActions onFoot;
To this -> public PlayerInput.OnFootActions onFoot;

Also!! at 21:26 in the AnimateCube script:
Change this -> startMessage = promptMessage;
To this -> startPrompt = promptMessage;
Apologies for the mistake!

NattyGameDev
Автор

Thank you for fueling my dreams on coding and game devolpment!

Elias.Mamoud
Автор

I have watched loads of tutorials to handle interactions, but this is by far the best one. Super clear and easy to understand. Thank you

shaunfarley
Автор

I appreciate that you take the time to show the process of building the code and explaining what many of the components do in the code. I also like your approach to naming conventions: keep names simple and explicit.

michaelsullivan
Автор

WOW! Thank you - you posted this on my birthday lol. Awesome video!

HoisinDuckWrap
Автор

You must have done this for soooo long. Looks so easy when yo do it. Thanks for this series. Nice to see some advanced stuff (at least it seems so for a noob like me) and you still find time to explain most of it. keep it coming, subbed and ready!

DrummerCAS
Автор

Natty can you please add a tutorial for the setup of the scene. It would be much appreciated.

aryasantosh
Автор

of all the tutorials I have been searching so far this works for me and I thank you, keep up the good work :)

Dibs
Автор

Thank you so much man! It's insane how much I learn from you! Really looking forward to more videos like these!

boomy
Автор

to the people confused about the keypad and doors: they are made out of simple shapes. go into your hierarchy and add 3d object>cube, then transform each cube into the correct shapes.

Squishen
Автор

I love watching tutorials. I've taken MANY courses, including the Junior Programmer Pathway. But, every time I take a tutorial, I learn something the courses didn't teach (or at least something I don't remember), such as the Interactable script and how it acts as a template. This can greatly improve the way I develop games.

donaldfaulknor
Автор

Hey natty,
Really love your videos!
I have been looking for an easy tutorial for month and finally found one
Keep it up :)

polyhedrainteractive
Автор

I have been waiting for you to upload, thank you.

mohammed.f
Автор

these have been the best working tutorials for me in awhile i appreciate you taking the time and effort for these

Whitewolfgaming
Автор

Thanks for making this amazing tutorial. I really think your channel will blow up soon! :)

TheOnlyKng
Автор

I know I am late to this party but, if anyone stumbles across this and is worried about interacting with interactables through things like walls - On the 'Player Interact' Script, under distance is mask - Set this 'Default, Intractable' (select both Default and Interactable)

animetarter
Автор

Thank you so much for this wonderful tutorial, its really great but in the first tutorial you stopped at the crouch and sprint codes, and now you have built two rooms with doors and I don’t know how to do them so is there any other video in which you explained how to do them?

ahmedmagdy
Автор

I really love your tutorials, dude !

(Waiting for new parts)

zerotohero
Автор

Great tutorial but unfortunately I am stuck on 15:58, because there's a error popping up saying that "'InputManager' does not contain a definition for 'OnFoot' and no accessible extension method 'OnFoot' accepting a first argument of type 'InputManager' could be found (are you missing a using directive or an assembly reference?)". I'm completely new with Unity so please can you help me on how to solve this problem?

rca
Автор

Is it just me or at 16:54 the lines of code
doorOpen = !doorOpen;
door.GetComponent<Animator>().SetBool("IsOpen", doorOpen);

appear out of nowhere,

chatabluehawk