43 Commits

Author SHA1 Message Date
Stephen Gold
00ce009925 fix for issue #772: populate bullet debug mesh using unscaled shape 2017-11-22 22:46:31 -08: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
empirephoenix
bfbb0d61ea Merge pull request #498 from TripleSnail/master
Add/remove all PhysicsControls even when a RigidBodyControl is present
2017-04-25 13:25:53 +02:00
NemesisMate
31933ff365 Removed the override that avoided a CompoundCollisionShape to be scaled 2017-02-15 14:19:13 +00:00
Riccardo Balbo
e452ec8f0c Fix MeshCollisionShape crash when loaded from j3o: always create BVH before scaling. 2017-02-06 14:31:19 +01:00
empirephoenix
e4840e2e9f Merge pull request #512 from riccardobl/pr200616
Removed warning if scale=1,1,1 in CylinderCollisionShape
2016-06-21 15:32:13 +02:00
Riccardo Balbo
56558841e7 CylinderCollisionShape: don't print warning if scale = 1,1,1 2016-06-21 14:56:33 +02:00
empirephoenix
65fd7425fa Merge pull request #497 from NemesisMate/patch-7
Ordering + raw methods instead of reversing.
2016-05-22 17:21:59 +02:00
William Linna
c85fd3fe26 Add/remove all PhysicsControls even when a RigidBodyControl is present 2016-05-21 23:26:56 +03:00
NemesisMate
8a058c61f1 Changed LinkedList for ArrayList in rayTests 2016-05-20 10:00:08 +01:00
NemesisMate
3b0e0766c5 Oops! 2016-05-19 11:47:06 +01:00
NemesisMate
4cd424ad03 Ordering physics rayTest returned list instead of reversing it.
Added raw results ray tests too.
2016-05-19 11:25:19 +01:00
iwgeric
3ae3b0064e Remove static from method
Having the method static was causing javah to change the signature of the native method which caused compiling errors
2016-04-11 19:33:22 -04:00
NemesisMate
513eedaea1 Fixed a little bug I left on reversing the list :S: 2016-04-05 08:58:30 +01:00
NemesisMate
2a44aa4aec Reversed raytest results when needed
In some cases, native-bullet returns the ray results on a reversed order so it leads to unexpected bugs.
2016-04-05 08:39:53 +01:00
Kirill Vainer
b4d295ee1b Merge pull request #445 from Fadorico/master
Fixed collision group listeners not being notified
2016-04-01 12:00:57 -04:00
Fadorico
83b26be45a Combine result of both listeners to determine if the collision should occur 2016-03-31 01:39:54 -04:00
Fadorico
ef626b0959 Fixed group collision check in native broadphase 2016-03-23 02:37:03 -04:00
NemesisMate
5c1d442b00 Missing getHeight present on jbullet
Well, I found that I'm using this on my code with jbullet but is not present on bullet version so here it is.
2016-03-11 18:11:33 +00:00
Fadorico
7628b0f9e3 Fixed collision group listeners not being notified 2016-03-09 15:08:56 -05:00
MeFisto94
e776967c23 Reverted Changes and fixed it the way it was done in CapsuleCollissionShape (See Commit f836b26)
"SphereCollisionShape: warn about scaling only if its not identity"
2016-01-26 15:53:53 +01:00
MeFisto94
5064552905 Fixes #373 - Faulty Loggings of a SphereCollissionShape when using native bullet 2016-01-21 15:35:20 +01:00
Dokthar
00c687b4d8 fix #383 : in PhysicsRigidBody the old statement in read() (l.741) was always false 2015-11-21 13:06:30 +01:00
Kirill Vainer
f836b26f2e CapsuleCollisionShape: warn about scaling only if its not identity 2015-08-21 20:37:04 -04:00
Dokthar
abbdefdcef Bullet RigidBody : revert IDE autoformatting noise 2015-07-19 21:04:54 +02:00
Dokthar
b1473c302c Bullet RigidBody : modification of the serializer to support the old & new angular factor 2015-07-19 20:46:03 +02:00
Dokthar
7f2c7c5d35 Bullet RigidBody : prevent from breaking the API & reverted 2015-07-17 13:46:06 +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
iwgeric
70b03ea28a Bullet (and jBullet): Remove deprecated PhysicsSpace.enableDebug method in favor of BulletAppState.setDebugEnabled. 2015-04-26 19:20:06 -04:00
rainmantsr
5c8b1fe585 Corrected JavaDoc comment 2015-03-28 13:30:53 +01:00
rainmantsr
31835366b2 Add: sweepTest to jme3-bullet-native 2015-03-27 20:37:23 +01:00
Kai Börnert
409f5ab766 A very small change that creates two getters in VehicleWheel,,
these are necessary if jme's bullet wrapper is used in a non Scenegraph enviroment,
for example a ES based server.

Signed-off-by: Kai Börnert <kai-boernert@visiongamestudios.de>
2015-02-28 10:53:26 +01:00
Normen Hansen
3aa8aed142 - add/remove multiple physics controls via PhysicsSpace.add / .remove 2015-02-24 11:10:00 +01:00
Utlaen
1ddb8c22da https://github.com/jMonkeyEngine/jmonkeyengine/issues/179 2014-10-04 02:07:52 +02:00
Normen Hansen
160cdb9d0d fix issue with setGravity/getGravity in native bullet 2014-09-29 17:43:46 +02:00
David Bernard
3c72c065ad bullet: refactor PhysiscSpace.addAll/removeAll
- only add joint with current PhysicNode is BodyA
  - => avoid logging warning
  - => fix a previous bug in test about getBodyA when adding/removing BodyB
- remove optimisation that by-pass routing made by add()/remove()
2014-08-15 13:42:26 +02:00
Normen Hansen
bf4a810272 - change push() --> add() for physics collision events 2014-05-25 12:20:56 +02:00
Phr00t
ecf6297783 stack to deque 2014-05-19 13:46:35 -04:00
Phr00t
d200e406d5 performance improvements to PhysicsSpace 2014-04-29 14:33:01 -04:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00