sirikata / sirikata

Sirikata is a BSD-licensed platform for networked 3d environments
http://www.sirikata.com/
Other
126 stars 39 forks source link

Add terrain environment setting and use it in physics to force minimum vertical position #491

Open ewencp opened 12 years ago

ewencp commented 12 years ago

Currently the physics simulation can go wrong and you can manage to fall through terrain. Previously this was the only approach we could use because there was no way to specify which thing was the terrain in the world.

We could use an environment setting to indicate the terrain, or we could just use a 'terrain' setting in physics. EIther way, the bullet implementation then needs to respect this, making sure that terrain objects force other objects to remain above them.