Skip to main content

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

Thanks for playing! The object selection is a bit wonky, and I didn't have time to improve it. Initially, I used a raycast to achieve this, but I changed it to a hitbox that gets the farthest collided objects. However, I should've made it get the nearest object instead, or continued using the raycast.

(+1)

What if instead, you put a small hitbox in front of the character and decide what to select based on what object it's overlapping? Technically, only counters, fridges, and cooking stations would be interactable, but would internally store what's on top of them/inside of them. Let me know if this idea helps at all!

I think this would work way better than what I have right now, but it would mean you have to be really close to what you want to use or interact with, basically, almost touching. I think I should find a way to get the closest object, rather than the farthest