41 Commits

Author SHA1 Message Date
Stephen Gold
8a4e5e1177 fix issue #1060: bt32BitAxisSweep3 not implemented 2019-04-12 11:10:44 -07:00
Riccardo Balbo
2bbf784c96 fix issue #1029, integrate PR #1031
* Use gContactStartedCallback instead of gContactProcessedCallback to detect collision events. ( fix for #1029 )

* Fix  Conversion loses qualifiers
2019-03-04 14:01:08 -08:00
Stephen Gold
cf33c3c2dd
implement setContactResponse(boolean) for PhysicsRigidBody (issue #964) (#966)
partial
2018-12-08 00:07:44 -08:00
Stephen Gold
e9069a0276
PhysicsSpace.cpp: whitespace changes to trigger an AppVeyor build (#963)
* Edit gradle.properties to trigger a rebuild

* PhysicsSpace.cpp: whitespace changes to trigger an AppVeyor build
2018-12-01 19:00:00 -08:00
Stephen Gold
d3e7d20374 upgrade native Bullet to v2.87, which should fix issue #877 2018-11-30 16:12:07 -08:00
Stephen Gold
8f26a3cc3f tests and fixes for issues #918 and #919 2018-09-30 12:58:45 -07:00
Stephen Gold
618337a81d fix for issue #913 2018-09-28 09:08:56 -07:00
Stephen Gold
dc4189afc3 test case and fix for issue #911 2018-09-26 19:50:26 -07:00
Stephen Gold
570e4850ea rm auto-generated C++ headers from repo, rm unzipped files during clean 2018-09-06 09:23:54 -07:00
Kai Boernert
6dddb6d418 added missing header function 2017-08-31 21:39:54 +02:00
Kai Boernert
96b355e38c added inertia manipulating methods 2017-08-31 21:39:54 +02:00
Riccardo Balbo
af60797efd Update to bullet 2.86.1 (#698) 2017-08-31 21:39:54 +02:00
Dennis
02bc779866 Update com_jme3_bullet_objects_PhysicsRigidBody.cpp (#702)
* Update com_jme3_bullet_objects_PhysicsRigidBody.cpp

From docu here: http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Activation_States
..
ACTIVE_TAG
    Means active so that the object having the state could be moved in a step simulation. This is the "normal" state for an object to be in. Use btCollisionObject::activate() to activate an object, not btCollisionObject::setActivationState(ACTIVATE_TAG), or it may get disabled again right away, as the deactivation timer has not been reset. 
..

* Update com_jme3_bullet_objects_PhysicsRigidBody.cpp

Settin RigidBody kinematic and then back dynamic will leave activation state to disabled causing the object never fall to sleep.
2017-08-31 21:39:54 +02:00
MeFisto94
0587c84527 Triggering a Native Physics build 2017-01-19 18:16:29 +01:00
Kirill Vainer
17d7134e2d bullet: enable upload for linux/mac 2016-12-10 14:05:05 -05:00
Kirill Vainer
1e15fe0f44 bullet: test mac native upload 2016-12-10 13:53:46 -05:00
Kirill Vainer
1e06ad091a upload_native: final check 2016-11-27 14:38:38 -05:00
Kirill Vainer
f60ffcc967 upload_native: final check 2016-11-27 14:32:21 -05:00
Kirill Vainer
3cdb7fd928 bullet-native: move generate headers task 2016-11-27 12:59:59 -05:00
empirephoenix
46891b32c6 Merge pull request #510 from bertleft/master
Bugfix: Native Point2PointJoint.createJoint() incorrectly allocates btHingeConstraint
2016-07-26 16:38:17 +02:00
Riccardo Balbo
e602ed651a Remove commented/unused code. 2016-07-26 15:12:13 +02:00
Riccardo Balbo
7f87a92c72 Bullet: Remove multithread support that is not available anymore. And was never used by the engine in the first place. 2016-07-13 17:20:48 +02:00
Kai Boernert
22db3212e1 Finally fixing this
https://hub.jmonkeyengine.org/t/jmonkey-3-1-native-bullet-bug/33595/3
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=12158&f=9&t=

Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
2016-06-13 13:06:35 +02:00
Albert Santos
03318a6766 Fixed Point2PointJoint.createJoint() incorrectly creating btHingeConstraint
Replaced it with btPoint2PointConstraint.
2016-06-12 09:47:34 -04:00
Kirill Vainer
3078f2ad22 Merge pull request #491 from riccardobl/AddGimpactCollisionAlgo
Fix GImpact passing through other shapes.
2016-05-04 13:50:47 -04:00
Riccardo Balbo
eee51f39f9 Add GImpact collision algorithm to physics spaces 2016-04-29 14:33:13 +02:00
Kirill Vainer
185eb7b6e5 Merge pull request #481 from riccardobl/fix_setAdamping_bulletnative
Fix for setAngularDamping / bullet native.
2016-04-23 15:28:34 -04:00
Kirill Vainer
34df2ebabf native bullet: hide unexported symbols 2016-04-22 00:23:50 -04:00
Riccardo Balbo
d2c608c788 Fix for setAngularDamping / bullet native. 2016-04-21 18:33:50 +02:00
Fadorico
ef626b0959 Fixed group collision check in native broadphase 2016-03-23 02:37:03 -04:00
Kirill Vainer
3412c0cf2b Merge pull request #361 from Dokthar/bullet_RigidBody
GImpactCollisionShape : fix for #188, added updateBound()
2015-10-06 19:12:37 -04:00
Dokthar
06d6f08616 GImpactCollisionShape : fix for #188, added a call to updateBound() in native jni binding, just after creating the shape, (native createShape() method) 2015-10-06 19:54:40 +02:00
Kirill Vainer
86439c2c2b native bullet: fix JNI crash in ray / sweep test
Method return type does not match call function return type
2015-09-11 13:51:48 -04:00
Maselbas
5de3163fb8 Bullet RigidBody : removed commented code 2015-05-18 22:36:45 +02:00
Maselbas
3780061863 Bullet PhysicsRididBody : compile time error fix 2015-05-18 00:34:42 +02:00
Maselbas
878f2cbbbc Bullet PhysicsRigigBody : added set/getAngularFactor(Vector3f) and set/getLinearFactor(Vector3f), these methods are usefull for locking axis translations or rotation 2015-05-17 20:40:25 +02:00
Kirill Vainer
cd1d145005 PhysicsSpace: add method to set solver iterations
Thanks to Seppes (see thread: http://hub.jmonkeyengine.org/t/how-to-access-native-bullets-constraintsolver-numiterations)
2015-04-27 19:03:43 -04:00
shadowislord
fe7f30d5ec Native SweepTest: fix formatting 2015-03-28 13:17:16 -04:00
rainmantsr
31835366b2 Add: sweepTest to jme3-bullet-native 2015-03-27 20:37:23 +01:00
Normen Hansen
6d0a5604c6 - fix pointer bug in native bullet addResult collision code (collision code still needs a rework) 2015-01-13 20:05:34 +01:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00