i need my character to pick up an objects when he collides with it, and when another object collides with my character or object, the object should be dropped,
PlEEAASSEE it’s emergency
This is collision detection. Assuming your character is using a character controller, you need to implement OnControllerColliderHit. Then, the picking up would be be making it a child of the player and deactivate it, the drop being the contrary.