Dynamica export to Bullet .bullet file, and some fixes in Hull scaling (not using btCompoundShape::setLocalScaling but directly appying the scaling to the hull vertices, and caching the local scaling)

This commit is contained in:
rponom
2010-01-29 00:03:45 +00:00
parent ee3e231be5
commit 133bb63dd8
9 changed files with 109 additions and 36 deletions

View File

@@ -21,6 +21,7 @@ Written by: Nicola Candussi <nicola@fluidinteractive.com>
Modified by Roman Ponomarev <rponom@gmail.com>
01/22/2010 : Constraints reworked
01/27/2010 : Replaced COLLADA export with Bullet binary export
*/
//solver_impl.h
@@ -76,9 +77,9 @@ public:
virtual void set_split_impulse(bool enabled) = 0;
virtual void export_collada_file(const char* fileName) = 0;
virtual void export_bullet_file(const char* fileName) = 0;
virtual void import_collada_file(const char* filename) = 0;
virtual void import_bullet_file(const char* filename) = 0;
virtual void step_simulation(float dt) = 0;