Outerra forum
Anteworld - Outerra Game => Tech demo, support, updates => Topic started by: KelvinNZ on March 19, 2012, 02:07:29 am
-
i'm able to walk through mountains. for your next bug fix.
-
I hope so, this simple fix has been on the books for a long while. Has to do with the collision mesh not following the terrain on steep complex slopes.
-
Part procedural generation and existing land data, if I recall correctly what Cameni told us a while back.
Just FYI, in my own experiments with procedural generation, it's a B**ch to get collisions working correctly, because of its very nature. Even 3d apps specializing in it don't always get it right :(
-
It is just matching two meshes isn't it? There is the mesh the texture is applied to (The Mesh you See) and the collision mesh would just need to mimic that exactly. We discussed it not doing so unless a player or object is close to interacting with it. IE an entire mountain 4 miles in the distance wouldn't need ANY collision mesh until you get there with your "on fire" plane.
-
Presently we are doing collisions only with heightfield data. Terrain steeper than a certain threshold is subject to horizontal displace, which creates more complex geometry by shifting the heightfield nodes around. It's also more demanding in terms of computation requirements, so I want to switch to mesh collisions only on the parts that require it.
FYI, here's which parts of terrain are displaced (yellow).
(http://i.minus.com/jdQP01DdTwkh4.jpg) (http://minus.com/mhCMEGgyH/1f)
-
That is quite a bit of it. Thanks for clearing that up.