Commit graph

21 commits

Author SHA1 Message Date
Erik Ogenvik
166a5aaba3 Initial work on planting entities. 2018-03-23 19:22:35 +01:00
Erik Ogenvik
72e7a5e0c2 Move resting entities along.
I.e. when an entity is moved, and there are other entities resting on
top of it, move them along too.
2018-03-09 14:37:11 +01:00
Erik Ogenvik
63d36617ed Fixed issues with terrain mods and moving entities. 2018-03-05 22:14:58 +01:00
Erik Ogenvik
d0585e9eb8 Enabled oceans and lakes.
Through the "water_body" property. An entity which has this is a water
body. If there's a bbox the entity is a lake (bounded), otherwise it's
an ocean (infinite bounds).
2018-02-28 09:34:05 +01:00
Erik Ogenvik
7f1c956b77 Fixed tests with friction. 2018-02-15 12:39:34 +01:00
Erik Ogenvik
0bc9450cff Standarize on double precision. 2018-02-12 09:46:30 +01:00
Erik Ogenvik
fe36774f5b Use "type" instead of "shape" for geometry.
Since we now support "asset".
2018-02-06 13:45:11 +01:00
Erik Ogenvik
99640d26aa Use a left hand coord system. 2018-02-06 13:45:10 +01:00
Erik Ogenvik
0acdd29674 Properly take offset into account when placing.
Fixes an issue with unsynced bullet representations when an entity was
moved.
2018-01-11 17:07:05 +01:00
Erik Ogenvik
191d8ef7ea Added test for bullet terrain sync with Mercator. 2017-09-01 13:19:27 +02:00
Erik Ogenvik
d788f1c7d4 Fixed tests. 2017-06-20 22:28:51 +02:00
Erik Ogenvik
737005b624 Added step-factor to control stepping.
It's a float property which determines how high the entity can step,
relative to its height.
2017-03-24 17:19:10 +01:00
Erik Ogenvik
77d6607880 Relax test for 32 bit archs. 2017-03-20 00:13:12 +01:00
Erik Ogenvik
e905de7729 Disable checking for exact location for now.
Since this differs between versions of Bullet.
Either we lock down the Bullet version, or we live with it being a bit
different.
2017-03-19 22:55:30 +01:00
Erik Ogenvik
df77523d16 Properly handle mesh geometry. 2017-03-19 14:36:35 +01:00
Erik Ogenvik
561f5cd07a Moved benchmarks into separate test.
Benchmarks are run by "make benchmark".
2017-02-18 23:04:47 +01:00
Erik Ogenvik
cb5457756e Added visibility performance test. 2017-02-15 21:48:43 +01:00
Erik Ogenvik
13c563fcc1 Added visibility test. 2017-02-14 21:41:01 +01:00
Erik Ogenvik
8f1373d18c Apply z-offset correctly. 2017-02-14 17:57:40 +01:00
Erik Ogenvik
69f99f3302 Improve performance for static entities.
We do this by deactivating automatic aabb updates for static entities.
And also by using the COLLISION_MASK_STATIC mask for static entities.
2017-01-29 23:07:51 +01:00
Erik Ogenvik
a0097a82e8 Added integration test for Physical Domain. 2017-01-29 17:13:01 +01:00