So im making a first person 3d project and how do you work with collisions to interact with a object for instance like grabbing a key but you have to be in range of that key like close to be able to grab it and what would the code for that look like?
I would imagine that it would probably look a lot like the code one of these 358,000 tutorials:

Remember, the code is the teeniest tiniest trivialest part. What counts a lot more than code is scene setup, prefab setup, object design, colliders , layers, tags, etc., and none of that is in code.
But it’s all in the tutorials above!
1 Like