72 Commits

Author SHA1 Message Date
Stephen Gold
6e96ee5bf2 jme3-bullet: add and improve comments, mostly JavaDoc 2018-09-17 17:31:19 -07:00
Stephen Gold
e80302728f fix for issue #898 2018-09-11 16:26:42 -07:00
Stephen Gold
10eef65e73 test case and fix for issue #894 2018-09-09 11:46:49 -07:00
Stephen Gold
a4ca3cbd40 test case and fix for issue #883 2018-09-09 07:46:29 -07:00
Stephen Gold
a28d5ccd16 test case and fix for issue #889 2018-09-07 10:57:39 -07:00
Riccardo Balbo
087197aff4 Fix bullet skipping enqueued tasks - #867 2018-08-25 18:57:46 -07:00
oualid
c0cdf75603 replace addState() with attach() in the javadoc 2018-04-26 21:19:14 +02:00
Nehon
d6b05553b5 Ogre loader now loads animations and armature with the new system 2018-03-24 21:02:52 +01:00
Stephen Gold
f40ba25a56 correct more grammar/spelling errors in comments 2018-02-23 22:20:22 -08:00
Stephen Gold
15285cc302 eliminate uses/overrides, deprecate implementations of cloneForSpatial() 2018-02-19 13:47:47 -08:00
Stephen Gold
bc624f1f73 correct more typographical errors in comments 2018-02-01 23:39:31 -08:00
Stephen Gold
c87af1c2aa correct more typographical errors in comments 2018-02-01 19:16:05 -08:00
Stephen Gold
32e3cb658f correct typographical errors in comments 2018-02-01 18:16:32 -08:00
Stephen Gold
bc1af00a32 correct typographic errors in comments 2018-02-01 12:23:34 -08:00
Stephen Gold
b159c847cc comment corrections: mostly spelling and grammar 2018-01-16 18:35:07 -08:00
Domenic
c4b635bb6f Fixed typo in assert described in issue #538 2018-01-13 20:01:29 +01:00
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
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