Hey, I'm working on getting a demo of our game ready to present, and I'm having a few issues with letting the character interact with buttons. The implementation is that each object has an associated "Activated" method, which defines how the object responds by being interacted with.
When the player presses the key, I get the bounding box for the character and attempt to do a boxpick on the region. Now, naturally, it's just going to return the player, so I set the GroupID of the button and suddenly the button stops rendering. I then tried setting the GroupID of the player and he keeps rendering, but the boxpick still returns his object.
Is there a way to get all objects found through box pick or is there a better way to do this?