Hello, i was trying to create simple pickup and dop system (like in game “granny”) and i actualy don’t know how to make it. I was trying to make it like in this wideo but nothing happend, please help.
https://www.youtube.com/watch?v=sPAPfQ1deuM&t=328s
What you mean by “nothing happen” you have a bug or what?
I mean that i just don’t know how to do what man doing in video but from first person
So, first, that part of that tutorial seems quite limited.
It looks at all pistols, and then gets the first one, so:
- you can only pick up pistols, not anything else
- you can only have one pistol in the level
It also hard-codes “have I grabbed the pistol” as the condition for whether to pick up things, which, again, is very hard-coded and doesn’t let you pick up different things, or have an inventory of things that may or may not be equipped.
So, maybe there are more tutorials in that series that build it better; I don’t know.
But, did you try just doing exactly what they’re doing in the video you linked?
I don’t see why that wouldn’t work if the camera is in first person mode.
What is “not working” for you?
1 Like