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.
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
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.
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
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😭😭😭
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
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 :(((
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?
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?
Hmmm... I made it without TriggerStay, just logically pickUp opposite dropDown func.
i have a problem i copy the code *not all of it* and its making me have an error cs1026 can you help me?
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.
Can you post script in chat
if you cant grab the object just remove (if.tags == " player")
You are my savior
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?
Make sure your gun has a Mesh Collider on it. And that you have checked Convex [ ✅️ ]
@@GunzzYT thanks, have a nice day
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
But that PickUp script (from your other video) works flawlessly. It's my go-to option if nothing else works. Quite simple but effective 😎
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.
Is it a way to make it to where only I can pick it up and nobody else able to touch it even when I drop it
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
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😭😭😭
Your code does not support unity anymore it only supports Unity Engine 5
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
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 :(((
I had a problem where the object would not go into the parent but chat gpt fixed it
when I drop my gun it goes though the floor
Very good tutorial. but some problems. but i used chatgpt to fix them. Thank you.
thx for ur help, i had some problems , but chatgpt fixed it 4 me (i dont know about scripting or something ^^)
glad i could help👍
Can you make a video that shows how to do it with the raycast system in order to look-pick up ?
Is it possible for this to be done but for a Third Person controller?
Yes, this script should also work on a third person controller. Just make sure that the third person controller is tagged as the player.
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?
@@hh5559 i will be making a new video about this topic ( how to pick up multiple items) kinda like a inventory system. Stay tuned!
@@GunzzYT actually I was more on about having multiple pickable items in a single scene that you want to be picked up
can i have the code please
thank you so much😊it is a very helpful..💯
nice man!
Works almost perfectly I'm having an issue where whenever I continuosly pick up and drop an item it starts to stretch out
yeah me too
doesn't work anymore
it still work tho
Where can I get your terrain?
asset str
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?