Frictional Games Forum (read-only)

Full Version: How to get the extent of a map
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'd like to know how to get the dimensions of a map (in other words: the extent of the world that the map represents). I guess this is stored in the DAE file, and somehow is read by the engine, but I can't find it.

Closest thing I've found is the cWorld3D::mvWorldSize vector, but looks like always stores (0, 0, 0). Actually, that parameters is only set in cWorld2D class. Looks like is not even used in cWorld3D class.

Any clues?