Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

My approach would be to have a cone-shaped trigger attached to the vacuum (I guess it would be a mesh collider on a custom cone mesh). You could use OnTriggerEnter and OnTriggerExit to keep track of which game objects are inside the cone, and then if the button is held down all the entities inside the cone get moved towards the player.