I’ve been following this tutorial
After finishing it, I wanted to learn a bit more and make PickUp being moved in random directions as game starts. So after the game starts I just apply 2d force in a random direction and pick ups are moved. As they are marked as Triggers they do not collide with 2d box colliders anymore and leave the game field after a while.
So I wanted to ask what is best practice in keeping these PickUps inside the game field? You have to keep them as Triggers as you want to pick them up by a player object, but at the same time you do need to make them colliding with borders of the game field?
How does one go around this?