Game Development Community

TypeMasks::AtlasObjectType or $TypeMasks::TerrainObjectType?

by BBS Games · in Torque Game Engine Advanced · 05/09/2006 (5:50 am) · 2 replies

I was implementing point & click player movement and clicking to the terrain never worked...until I changed $TypeMasks::TerrainObjectType to $TypeMasks::AtlasObjectType...ok this is obvius because I'm using Atlas...but why there is still the $TypeMasks::TerrainObjectType mask?

Can I strip out this type or is this still needed by TSE internal code?

#1
05/09/2006 (6:38 am)
Well, the TerrainObjectType is for the old legacy terrain. It is still used in missions like Stronghold but you could probably take it out if you're only using atlas.
#2
05/09/2006 (7:31 am)
Thanks Matt,
I've removed $TypeMasks::TerrainObjectType from main.cpp, changed some scripts (mainly in the editor/creator) and all works as expected.