I'm seeking advice for my game development project. I've been working on enhancing the Collision detection for items that players can pick up in my game. Right now there's 6,000+ detections per second. That seems very high, but I am not sure if it is.
I'm torn between utilizing Collision detection for item pickup or implementing a hovering for more details and a click on (with distance from loot calculation) mechanism trigger.
Performance is a concern, and I'm unsure if my current approach is optimal for my game's performance. I'd appreciate advice on the best approach for Collision detection and how to optimize it without negatively impacting performance.
I put together a Youtube video to narrate my work.
youtube.com/watch
Update: I did test the hover over and automatically loot technique. The CPU/GPU did not go up nearly to to the level of collision detection so I think I have my answer but I am not sure. I tested it with 30 loot items on the screen.
Thanks for any advice you have.