February 27, 2021

GAMERS NEWZ

Gamers News, Forum and Blog

OpenGL Best Mouse Picking Technique

I wanted to get some advice on what the best techniques on mouse picking would be.

To set up the context, I am building an editor for my engine, and I’m working on adding transformation gizmos to translate/scale/rotate game objects with ease. I’d like to implement some sort of mouse picking that works well with the editor objects and the transformation gizmos.

I’m using bullet as my physics engine for now and I’m aware that there’s a decent solution that leverages the physics engi