This DLL allows GM users to take advantage of this powerfull library.
Current features supported by the DLL:
-Discrete (non-continuous) simulation
-Rigidbodies
-Constraints
-Concave/convex triangle meshes
-3DS and BSP file loading
-.obj, .x, and GM model file loading with GMModelEx.
-Raycasting
-D3D based Debug drawer
-Vehicle constraint
-Data structure based Get/Set functions, for rapid communication.
Last updated: April 12th 2009. Most recent version: 1.34
The DLL and extension package can be downloaded at: http://www.andrewpaul.com/GMBullet.zip
A Help file is included, please use it.
Source code included.
If you find any bugs, please post reports in this thread. Please include a description of the bug, how to re-create it (ie: what causes it?) And, if possible, an editable game file which demonstrates the bug.
New feature and function requests are also welcome
---
Continuing from the Request topic:
A bug was found in the get_rotation functions, it has been fixed, the rotations should work correctly now.
The problem was 2-fold. First, Bullet uses a left-handed coordinate system instead of a right-handed one, thus all rotations were being performed in the wrong direction (that took a while to figure out,) and second, it seems Bullet's internal matrix-to-euler conversion is not working with GM correctly, and has been replaced with other code. The Zip file has been updated with the new version.
The new Euler rotations need to be applied in the order: y,z,x as opposed to x,y,z.
Also note that I added code to negate the input angle values from the various functions which define rotations (to convert counter-clockwise rotation to clockwise.) If this is in err, let me know.
-Andrew
Edited by andbna, 12 April 2009 - 04:47 AM.











