29 Commits

Author SHA1 Message Date
William Linna
c85fd3fe26 Add/remove all PhysicsControls even when a RigidBodyControl is present 2016-05-21 23:26:56 +03: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
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