37 Commits

Author SHA1 Message Date
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
Paul Speed
8b1ddbe60f First round of getting JmeCloneable implemented... added
support for Cloner to the controls that implemented cloneForSpatial().
Unused until spatial cloning is implemented.
2016-03-20 02:47:16 -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
Paul Speed
20f62cbd64 Adding @Override to cloneForSpatial() methods in bullet lib. 2016-03-11 05:37:07 -05: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
NemesisMate
abdd739437 Fixed BetterCharacterControl "flickering" when not moving.
Sometimes, when the BetterCharacterControl is not moving, it flickers due it physics being always active. The reason for it being always active is that on the prePhysicsTick method it always set the rigidBody's linear velocity (and the method PhysicsRigidBody.setLinearVelocity(Vector3f) reactivates the physics each time is called).

The fix consist on just comparing if the current velocity and the setting one aren't the same and, thus, not setting it (using ZERO_TOLERANCE instead 0 to best results).
2015-12-18 12:11:54 +00: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
da8bd08aa1 Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine 2015-04-26 19:22:28 -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
Turakar
92b2ec664e Fixed typo #258 2015-04-20 20:01:52 +02: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
Normen Hansen
87ba079dc3 - remove deprecation of CharacterControl 2015-01-29 15:34:28 +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
neph1
8700871e76 Fixed some merge issues (now it's working properly)
Added test case for IK
2014-07-04 17:59:09 +02:00
neph1
8738f961ea This is the long-overdue initial check in of KinematicRagdollControl with IK support. It also contains some modifications to Bone. Tested with TestBoneRagdoll to ensure backwards compatibility. Please review. 2014-06-28 14:58:57 +02:00
Nehon
3f43d7832f Updated documentation of the Bone class and changed names of the transforms variables and accessors so that they properly describe what they are an are misleading anymore.
Kept old methods as deprecated to not break user code.
Changed all calls to the deprecated methods in the engine.
2014-06-17 22:08:55 +02:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -04: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