Finding 'bounds' of a map model to restrict camera?

Hey guys,

I’m working on a small game project with a friend, just getting started with all this panda stuff and its wonderful documentation.

What we’re trying to do is get our camera that we have set up to move like it would in a RTS to be restricted over our ‘map’ model.

Currently what we’re using for testing purposes is the default grassy bamboo model from intro tutorials (the one with the pacing panda and all). How can we get the ‘bounds’ or x and y width of this model?

Or perhaps there is a better way to constrict the movement of our camera?

Did you see this thread, posted just three days earlier? :slight_smile: