How to make an Interaction Feature (Unity Tutorial)

preview_player
Показать описание
Project Files available now on Patreon for our patrons!

JTAGames is unfortunately closing it's doors. Jon-Tyrell (The guy who's voice you hear 90% of the time) is moving to "Keahunui Technologies" An unofficial company / branding owned exclusively by himself.

Thank you for your support the tutorials will remain on this channel.

Please wishlist Keahunui technologie's first game on steam!

If you're feeling super supportive of Keahunui Technologies consider checking out Kickstarter.
Рекомендации по теме
Комментарии
Автор

Super effective and flexible way to make interaction systems instead of having a lot of different scripts with different rays sending out to different things. Thanks for the tutorial :)

EmilJoes
Автор

Really nice tutorial! straight to the point, i would love more tutorials about Horror Games <3

TheWobiz
Автор

this is so easy I watched a ton of videos but none explained like that many thanks

khurum
Автор

Great tutorial man! Clear and straight to the point! Thanks for helping us out :D

BigToeDev
Автор

I'd love to see a tutorial using this system on a typical walking simulator mechanic: a paper that you can click on and then have it pop up on the screen so the player can read it

BERKACE
Автор

Nice tutorial and very helpful. Question: What would be the best to manage lets 100 interactable objects?

AndreaLPM
Автор

After adding the first interactor script to my camera to test it, my game just no longer starts unless i remove the script.

Edit: I fixed it, i'm not sure why it didnt work exactly but i edited the code to basically say the same thing but in a different way.

void Update()
{
var ray = new Ray(this.transform.position, this.transform.forward);
RaycastHit hit;
if (Physics.Raycast(ray, out hit, 50, interactableLayermask))
{


}

himiko
Автор

Hi, I'm back again. How can I call a specific Unity Event using the interaction system?

arandomcookie
Автор

how to open door with a key if you have key

worldcup-o
Автор

How would u write the code if i want to select the game object and rotate it then deselect it and it goes back to place

mostafamo
Автор

Great tutorial, however it does not work in my scene. I saw that you have set up a canvas which includes the eventsystem in it...should we all have a canvas in our scene for the script to work?

evangelia
Автор

Can you make tutorial like this but in blueprints Bolt, something like this

v-rdays
Автор

I love this script and think it works very well, however I've noticed an issue. You can interact with objects through walls, is there any way to fix that?

mitnick
Автор

I made a button with the Interactable script to open a hidden door on the wall
When I press this button, the parameter bool "open" toggles to true and the animation plays, but it doesn't actually play. The animator window says that the animation is playing when "open" is true, but in game, none of that is happening.
I have no idea what is happening

hersonmarco
Автор

For the Game Jam can we modify some of the code or does it have to be the same as the tutorial

Reddatar
Автор

How is the animator controller setup, can someone please tell

darkdoom
Автор

Tried to follow the code but it does not help me when it reaches the LayerMasks. I copied the code front and back but it does not do anything for me

marvicaaronlequin
Автор

I have a problem when I open the door, it gets opened and closes automatically

darkdoom
Автор

Can we get the script it is to small to see

turtleproductions
Автор

I'm so confused what the f is a raycast and layermasks?!?!

voidzx
join shbcf.ru