Torque 3D Beta 1 Bug - Terrain collision problems
by Konrad Kiss · in Torque 3D Professional · 05/08/2009 (12:07 pm) · 9 replies
Update: Issues with a small text are fixed. (see the thread)
2. Choose Terrain Editor, and select the Add Dirt tool
3. Find a clean space on the terrain, and set your brush size to 25
4. Raise the terrain until the max height is around 345 units.
5. Drop the player on the plateau that you just created, and change to first person view.
I have a map that I believe has the same issue, but the player is falling through instead of "jumping". Please let me know if you need this terrain to test with - I can send you the 1024x1024 grayscale 16 bit png heightmap. Terrain square size with this terrain is set to 3, and the z scale is 256 units. All other settings are the defaults.
I'm not sure if it has something to do with the bug, but in both cases hill sides were pretty steep.
Problem
Terrain collision behaves oddly under certain circumstances. It either causes the player to "jump" on the surface, or the player falls through the terrain. There is another bug report on a similar issue - this is something different.How to reproduce the problem
1. Start the FPS genre Kit2. Choose Terrain Editor, and select the Add Dirt tool
3. Find a clean space on the terrain, and set your brush size to 25
4. Raise the terrain until the max height is around 345 units.
5. Drop the player on the plateau that you just created, and change to first person view.
I have a map that I believe has the same issue, but the player is falling through instead of "jumping". Please let me know if you need this terrain to test with - I can send you the 1024x1024 grayscale 16 bit png heightmap. Terrain square size with this terrain is set to 3, and the z scale is 256 units. All other settings are the defaults.
I'm not sure if it has something to do with the bug, but in both cases hill sides were pretty steep.
About the author
http://about.me/konrad.kiss
#2
05/11/2009 (4:55 pm)
Logged as THREED-443
#3
The jumping player issue still remains, however.
05/12/2009 (1:45 am)
James Ford posted a fix for the other terrain collision issue which fixes the falling through terrain problem here.The jumping player issue still remains, however.
#4
05/12/2009 (2:06 am)
I'm not sure I follow you on what the jumping issue is. I wouldn't mind having that heightmap for testing.
#5
05/12/2009 (2:27 am)
Actually, the jumping issue appears on the FPS Genrre Kit map. The other one that appeared on my own height map (falling through) - you just solved that one in the other thread. So you can reproduce the jumping issue through the points I listed in the original post in this thread.
#6
05/12/2009 (2:27 pm)
Oh! You mean the player "jitter" that you see sometimes while standing still. Yeah that needs to be fixed... looking into it.
#7
05/12/2009 (2:29 pm)
Yeah, sorry.. :) My English still needs some improvement I guess. If I can be of any help, let me know.
#8
05/13/2009 (12:32 am)
This fixed it for me, try changing sTractionDistance in player.cpp to 0.04, up from 0.03.
#9
I am still debugging as I write this, so if I come up with something I'll let you know.
05/13/2009 (8:50 am)
It doesn't seem to solve the issue on my map. I upped the value to 1.0f even, and that didn't help either.I am still debugging as I write this, so if I come up with something I'll let you know.
Torque Owner Charles Wolfsandle
Five Alarm Studios