Morphing Terrain Issues

From Valve Developer Community
Revision as of 09:59, 14 September 2005 by Maven (talk | contribs) (→‎Workarounds: grammar, sp, removed off-topic)
Jump to navigation Jump to search


Synopsis

Using the Env_terrainmorph does not update the collision hull. Tracing through the code leads you to engine->ApplyTerrainMod(), and the trail basicly ends there for the SDK. Can anything be done to "fix" this? Morphable terrain isn't very useful when it doesn't modify the collisions. I heard there was an E3 Demo of Source and the ability to morph the terrain along with updating the collisions was shown, yet the functionality appears to be absent now.

Work-arounds

The only work-around that exsists is to add in a func_movelinear or other moving brush, and simply have that move under the terrain to make the brushes' shape match what the terrain is supposed to be. This is not, however, always practical.

If the terrain represents snow, that the collision hulls are not updated can create a depth to your snow displacements.