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
javasabr
e26f0f133b
fixed cloning and saving some contorls.
2017-02-03 09:16:06 +03:00
javasabr
637635d53f
Fixed saving/cloning enabled state of a RigidBodyControl.
2017-01-29 23:30:28 +03:00
Kirill Vainer
3cdb7fd928
bullet-native: move generate headers task
2016-11-27 12:59:59 -05: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
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