Commit graph

11 commits

Author SHA1 Message Date
Anthony J. Thibault
ca8a832818 CharacterController: added hard limit to follow displacement
To prevent tunneling when the rigid body cannot reach it's target due to being blocked by a wall or some other obstacle.

Also, added unit tests for physics/BulletUtil rotateVector and clampLength functions.
2016-01-21 17:27:45 -08:00
Andrew Meadows
d03a7d1b70 fix physics-tests build errors 2015-07-28 12:24:17 -07:00
Seiji Emery
a48adf5ce5 Cleanup + formatting 2015-06-30 14:12:58 -07:00
Seiji Emery
e81b0a3c3a Fixed tests for ALL_BUILD
Fixed physics tests, disabled out-of-date octree tests, and renamed /
added QTestExtensions to the tests folder (IDE view).

ALL_BUILD will now succeed.
2015-06-26 13:31:31 -07:00
Seiji Emery
c61b38f5e6 finished physics tests 2015-06-22 16:25:26 -07:00
Seiji Emery
0d9a661839 physics test cleanup 2015-06-22 15:55:34 -07:00
Seiji Emery
c2b7f70d2b ShapeColliderTests now uses QtTest 2015-06-22 15:25:24 -07:00
Seiji Emery
01c85e0a2c cleanup 2015-06-22 10:17:26 -07:00
Seiji Emery
16dd5e0590 Added a custom test macro, QFUZZY_COMPARE (compares two values with an explicit error tolerance), and the infrastructure for defining more.
Reworked physics test files, but they're a WIP.
2015-06-21 09:29:09 -07:00
Seiji Emery
64922ecc62 Setup cmake build files for QtTest-based unit tests. 2015-06-19 21:39:34 -07:00
Andrew Meadows
2734afcf9a Adding BulletUtil.h with tests. 2014-11-04 16:43:50 -08:00