Тёмный

How To Pick Up And Drop Items | Unity Tutorial 

Gunzz
Подписаться 1,2 тыс.
Просмотров 6 тыс.
50% 1

Subscribe & Like for more Content like this.
-------------------------------------------
RU-vid : / gunzzyt
twitch : / gunzz___

Игры

Опубликовано:

 

24 фев 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@THeCOde0168
@THeCOde0168 8 месяцев назад
thank you so much😊it is a very helpful..💯
@MarkHere-kf1fq
@MarkHere-kf1fq 17 дней назад
nice man!
@Maku-ek4nz
@Maku-ek4nz 9 месяцев назад
Can you make a video that shows how to do it with the raycast system in order to look-pick up ?
@JSRCU13
@JSRCU13 10 месяцев назад
Hi hope you read and answer this but i am having a problem when i drop a gun i have multiple guns in my game and when i press the drop button all of them teleport to me and 1 more problem when i look or even stand on a gun like a pistol and press the equip button it equips some other gun not even close to me.
@aepsmoof2724
@aepsmoof2724 Год назад
I have a problem the pick up & drop script works but then the shooting script doesn't work and there's "an object reference not set to an instance of an object" and I dont know how to make gun shoot after picking it up :(((
@devMAX.
@devMAX. 10 месяцев назад
Hey bro thanks for the video , but i have a small probleme pls help when i drop the gun it dropes only on one side and it’s the camera side when the game starts i want when i click drop it drops on the the side the player stand
@red_19823
@red_19823 Год назад
i have a problem i copy the code *not all of it* and its making me have an error cs1026 can you help me?
@freshdyl7412
@freshdyl7412 10 месяцев назад
Very good tutorial. but some problems. but i used chatgpt to fix them. Thank you.
@feufeu420
@feufeu420 11 месяцев назад
thx for ur help, i had some problems , but chatgpt fixed it 4 me (i dont know about scripting or something ^^)
@GunzzYT
@GunzzYT 11 месяцев назад
glad i could help👍
@ThatOneFoxyFan45
@ThatOneFoxyFan45 8 месяцев назад
I had a problem where the object would not go into the parent but chat gpt fixed it
@haeqallz19
@haeqallz19 5 месяцев назад
it work well for my project but if i add another object, it will only interact the first object. Can anyone help me on this? I want to make it interact with two object as the purpose of it is to replace the first object to second object, more like replacing battery to its place. Need help asapp
@catalincarazanu
@catalincarazanu Год назад
Hi, I also have some problems 😅. For some reason the Gun doesn't inherit the WeaponParent's rotation, only the position. Regarding the position, when I press the key the gun just teleports to the parent and falls
@catalincarazanu
@catalincarazanu Год назад
But that PickUp script (from your other video) works flawlessly. It's my go-to option if nothing else works. Quite simple but effective 😎
@GunzzYT
@GunzzYT Год назад
make sure you have a rigidbody on the Gun... And for the rotation i cant tell whats wrong (i need to see ur code) but make sure u haven't missed anything in the code, compare it.
@boo24ndb
@boo24ndb Год назад
if you cant grab the object just remove (if.tags == " player")
@huynluna3244
@huynluna3244 11 месяцев назад
You are my savior
@malachipeck7450
@malachipeck7450 Год назад
Works almost perfectly I'm having an issue where whenever I continuosly pick up and drop an item it starts to stretch out
@karimosama3819
@karimosama3819 Год назад
yeah me too
@Derbyskiller
@Derbyskiller 8 месяцев назад
I made the same with a pliers only problem is that the character takes the Pliers that lies in the scene. Man do you know whats wrong? Please help me😭😭😭
@alexplaytop
@alexplaytop 2 месяца назад
Hmmm... I made it without TriggerStay, just logically pickUp opposite dropDown func.
@jlprofiBeats
@jlprofiBeats Год назад
hey, great video. I have a small problem. my gun falls through the floor even though the floor has a collider. Can you please help me?
@GunzzYT
@GunzzYT Год назад
Make sure your gun has a Mesh Collider on it. And that you have checked Convex [ ✅️ ]
@jlprofiBeats
@jlprofiBeats Год назад
@@GunzzYT thanks, have a nice day
@GagePlayz5423
@GagePlayz5423 4 месяца назад
when I drop my gun it goes though the floor
@hh5559
@hh5559 6 месяцев назад
Is it possible for this to be done but for a Third Person controller?
@GunzzYT
@GunzzYT 6 месяцев назад
Yes, this script should also work on a third person controller. Just make sure that the third person controller is tagged as the player.
@hh5559
@hh5559 6 месяцев назад
Got it@@GunzzYT Also, for multiple items in a single scene that I want picked up, do I need to create differe nt scripts for each individual item or just use the same one for all?
@GunzzYT
@GunzzYT 6 месяцев назад
@@hh5559 i will be making a new video about this topic ( how to pick up multiple items) kinda like a inventory system. Stay tuned!
@hh5559
@hh5559 6 месяцев назад
@@GunzzYT actually I was more on about having multiple pickable items in a single scene that you want to be picked up
@Rexu3030
@Rexu3030 Год назад
Where can I get your terrain?
@theory_thinker
@theory_thinker Год назад
asset str
@sneakysquid-tt3ef
@sneakysquid-tt3ef 8 месяцев назад
can i have the code please
@youratrucker20
@youratrucker20 7 месяцев назад
Your code does not support unity anymore it only supports Unity Engine 5
@kingtyrant18
@kingtyrant18 2 месяца назад
Can you post script in chat
@Dug77
@Dug77 Год назад
doesn't work anymore
@huynluna3244
@huynluna3244 11 месяцев назад
it still work tho
@brownguyart
@brownguyart Год назад
Hey! I have checked some videos on your channel and they have been really helpful! I am beginner in unity and learning right now. I would love to be in contact with you, do you have any social medias?
Далее
Quest System | Unity Tutorial
30:50
Просмотров 1 тыс.
Что мне Спеть?😺
3:15:51
Просмотров 1 млн
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Просмотров 1,7 млн
Eerste Communieviering - zondag 09 juni
1:22:49
My first devlog - 1 || @CODEFORTRESS
2:21
How To Bake Lighting! | Unity Tutorial
1:44
Просмотров 51 тыс.
First Person Movement Unity 2022
3:47
Просмотров 45 тыс.
How to Pick up and Place objects in Unity P1
20:21
Просмотров 25 тыс.
Learning Unity Be Like
1:01
Просмотров 1,8 млн
URP to Standard Downgrader - Unity Easy to Use Plugin
1:05
skibidi toilet zombie universe 30 ( New Virus)
2:32
Просмотров 1,3 млн