hey I was wondering if anyone knew of a good paper or example for how to handle selections in game? specifically, what feels good to use.
For my project, you will select objects to move them, then they will snap together when their connection points are close enough.
I understand all the code necessary but I am specifically requesting examples for flow of control- when to add to a selection, or to reset the selection ect. should I do a box selection like for a RTS or just rely on individual objects being selected and grouped?
I already have moving a single object working but I realize when these objects snap together, how should I manage moving them afterwards? should I just parent them so a movement of one moves them all? what about when I want to remove one object from the group, ideally I won’t have to have a specific “remove binds” button and everything can be handled via just clicking?
Maybe just handle groupings by parenting objects, and when you double click, it only unbinds the object from its parent? but then players could get confused which object was the “parent”, and so removing objects from the group could be confusing?
If anyone had any resources relating to this topic i’d appreciate it.