Game Development Community

Started falling through Terrain

by Tim Holt · in Torque Game Engine Advanced · 11/14/2006 (4:47 pm) · 4 replies

I at some point started falling through Atlas terrain in my map. Spawn, through ground, endless fall.

Obviously I must have changed something, but AFAIK it's only code in a modified version of the foliage replicator.

Any suggestions where to start looking? It must be something pretty basic.

#1
11/14/2006 (5:03 pm)
Check your atlas scale? i noticed if i change the scale of an atlas terrain it will ignore the collision properties...
#2
11/14/2006 (5:26 pm)
Hmm, I haven't touched the atlas code, atlas files, nor the entries in the mission files. I tried an old mission file that has worked and I haven't touched, and it also has the same behavior. Given my code changes are fairly small I may do a re-integration with a "pure" code set and see what that does.
#3
11/21/2006 (1:07 pm)
First things I would check is:

- is your playerSpawn point under or inside the terrain? if so you will fall through. its easy to accidentally snag something and move it without knowing in the editor.

- maybe try re-importing the atlas terrain. Just check the position of the current atlas terrain in the inspector so you can place it back exactly where it was
#4
11/21/2006 (1:35 pm)
David, tried both things.

I actually "fixed" it by moving to the latest 4.1 milestone and re-integrating my changes into it. I guess it was just one of those "I changed something and who knows what I changed" things.