Randomly falling through terrain, and other weirdness

Friendly conversations, and everything that doesn't fit into the other forums.
5 posts Page 1 of 1
Mitovo
Posts: 89
Joined: Sun Apr 12, 2015 5:46 pm
  by Mitovo » Wed Oct 28, 2015 3:51 pm
Hello,

Been working on a test/sandbox map. I imported a heightmap generated with L3DT, which is 2048x2048, 16-bit PNG.
  • I've set up a water plane.

    I've set up have set up a decoration object, using one of the included grass textures. This decoration object only shows up on the grass texture layer.

    I've set up two layers of my own textures (grass and rock), using the "flood fill" option, to place rock texture only on steep surfaces, etc.

    Everything up to this point was fine. Terrain runs smoothly, no problems.
In running around, I noticed the grass decorator is showing up under water, which I don't want. So... I added a 3rd, sand, layer to paint below the waterline, where the grass won't show up (since it's limited to the grass texture layer). The sand material/texture is the one included with the default install of T3D.

Upon painting this texture, my character fell through the terrain, and now nothing I do is correcting it. I recreated the terrain, and have the same issue.

So, I have no idea what's going on, or why painting a 3rd texture is causing the terrain to stop colliding... but... well, that's why I'm posting about it here :)

As for the "other weirdness", every now and again, different objects will get "locked" to other ones. For example, I was trying to move the player drop object above the ground (since, for some reasin, every time I import a heightmap - even if it's the same one - it seems to import at random heights (more on this later), so I have to adjust the player drop and/or the water plane so they're correctly positioned. Anyway, what will happen at random is that the player drop, for example, will get "locked" to the terrain. So, if I move the player drop, the terrain is moving with it. It's happened when trying to move the water plane as well. I have to reopen the map in order to fix it. Very odd issue.

The main issue, though, is the random falling through the terrain? Any idea of why this might be happening?

Thanks.
JeffR
Steering Committee
Steering Committee
Posts: 858
Joined: Tue Feb 03, 2015 9:49 pm
 
by JeffR » Wed Oct 28, 2015 8:33 pm
Does that happen only when you edit the terrain?

Or does falling through the terrain happen even if you save, exit, and reload the level?

If it's the former, could just be that when you add that third material, it's triggering a rebuild of the terrain block, and the collisions are wiped momentarily, but I'd need to know if it's ONLY during editing to be sure.
Mitovo
Posts: 89
Joined: Sun Apr 12, 2015 5:46 pm
by Mitovo » Wed Oct 28, 2015 11:26 pm
Does that happen only when you edit the terrain?

Or does falling through the terrain happen even if you save, exit, and reload the level?

If it's the former, could just be that when you add that third material, it's triggering a rebuild of the terrain block, and the collisions are wiped momentarily, but I'd need to know if it's ONLY during editing to be sure.
Hi there, Jeff,

Well, when I re-opened the editor just a bit ago, the problem seems to have fixed itself.

So, is that what's happening, is that it's kind of "refreshing" the terrain when you add new layers, etc?

Aside from adding that new layer, I hadn't touched anything else. So, if that's all it is, then I can live with re-opening the file once in a while.

Any hint as to why items sometimes get "locked" together? Where the character spawn gets locked to the terrain, and both move, etc?

Thanks!
JeffR
Steering Committee
Steering Committee
Posts: 858
Joined: Tue Feb 03, 2015 9:49 pm
 
by JeffR » Thu Oct 29, 2015 2:52 pm
When you're experiencing the 'locked' behavior, was it after trying to select something by clicking on it?

I've found that occasionally, when I've been clicking on other parts of the UI, or switched windows or the like, the cursor may think it's been clicked and held, causing it to act like a drag-selection, and multiple things get selected.
Mitovo
Posts: 89
Joined: Sun Apr 12, 2015 5:46 pm
by Mitovo » Thu Nov 05, 2015 6:48 pm
I don't recall exactly what I was doing when those things happened, as I wasn't paying attention specifically at those moments.

I'll keep a closer eye on it going forward, and let you know if that's the case, or at least seems to be.
5 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests