105 Commits

Author SHA1 Message Date
Stephen Gold
98a283beb6 remove unnecessary casts and tests for null, discovered using NetBeans (#1285) 2020-04-18 22:33:15 -07:00
Stephen Gold
75001d8abd
protect 52 no-arg constructors in the jme3-bullet/jme3-jbullet libraries (#1229) 2019-12-02 21:01:11 -08:00
Stephen Gold
0425c61dd4
fix for issue #1178 (BulletAppState violates AppState contract) (#1187)
* fix for issue #1178 (BulletAppState violates AppState contract)

* BulletAppState: make isRunning volatile (potential multithreaded access)
2019-09-20 17:51:44 -07:00
sgold
3482904c76 CollisionShape: add isNonMoving() and test buildscript 2019-09-18 19:56:39 -07:00
Stephen Gold
42530de219 PhysicsCollisionObject: add getDeactivationTime() and test buildscript 2019-09-18 18:40:10 -07:00
Stephen Gold
392a3c5cff SixDofJoint: add getAngles() and test recent buildscript changes 2019-09-18 17:09:12 -07:00
Stephen Gold
30d1ecaec2 fix for issue #1157 (can't enable a TranslationalLimitMotor) 2019-09-17 13:27:08 -07:00
MeFisto94
1bde90d1a1 Build android bullet-native on Travis (#1175)
* First attempt at building android-natives.

*  Use OpenJDK because native build is broken without

* Try OpenJDK 10

* Try openJDK 9

* Try openJDK11 again but "enable" the EE Module

* OpenJDK 11 has no Java EE Module anymore.

* Try to fix Android Header Generation

* Fix invalid flag error with javac by removing empty quotes

* Try to fix build of decode.

* Remove jni generated headers from the repository.

* Adjust .gitignore as those header files won't appear at that location anymore

* Fix Android Build: Fill the jme3-android-native headers during the build of jme3-android. This works because jme3-android-native already depends on jme3-android.

Due to technical reasons, the headers share the same location and thus the include directives have been adjusted slightly.

* Copy jni headers to the jni directory.

* Adjust the path slightly

* Try to silence android sdk's license print out

* Also fix openAL

* Solve task name conflict

* Really silence license now

* Tasks seem shared but Strings are not...

* Only build Android-Native

* Trying to reduce the amount of dependencies needed.

* Remove even more dependencies

* Even more removal

* Prepare Deployment

* Fix Deployment

* Cleanup: Remove feature branch from branches for travis.

* Revert a few unnecessary things

* Removed NDK Comments.

* Bullet Android: Some cosmetic changes (removed commented debug code) and generate bullet-native headers during jme3-bullet compilation.

* Fix Bullet Build by using GNU libstdc++ instead of STLPort (discontinued)

* Fix Bullet-Native Compilation
2019-09-16 06:49:45 -07:00
Paul Speed
3b8314a36f Part 1 of small refactoring to give AppState a unique ID for lookup purposes.
This is a breaking change for direct implementers of AppState as they must
add a getId() method.  (Which is also a good time to evaluate if they should
be extending AbstractAppState or BaseAppState and/or if their life cycle is
implemented correctly. e.g.: BulletAppState is breaking the AppState contract
a bit.)
2019-09-15 19:38:50 -04:00
sgold
56d37cb866 fix GImpact scaling in jme3-bullet (native Bullet) 2019-06-20 07:34:38 -07:00
Stephen Gold
2cd3dac543 jme3-bullet fix for issue #1125 (physics shapes don't match TerrainQuad) 2019-06-18 12:30:54 -07:00
lifeinwild
7e11a6c0fe Use UTF-8 in gradle builds 2019-05-26 22:09:54 +02:00
Stephen Gold
40be1b42b8 DynamicAnimControl: remove all mention of attachments incl. isReleased() 2019-04-26 10:20:08 -07:00
Trevor Flynn
9c1452b63b Fixed classes location while building natives (JDK11 Support) (#1073)
* Fixed classes location while building natives
* Fix minor formating issue
2019-04-20 10:43:16 -07:00
Trevor Flynn
ad2ba95e99 Jdk 11 Build Support 2019-04-15 22:03:18 +02:00
Stephen Gold
235b9db2ca publicize Joint.applyBindPose(), add DynamicAnimControl & related stuff 2019-04-03 08:07:52 -07:00
Stephen Gold
1ad324aa57
fix issue #901 (collision margins initialized to 0) (#1053)
* fix issue #901 (collision margins initialized to 0)

* add a getter for the default collision margin
2019-03-23 15:18:13 -07:00
Quazi Irfan
76049c76f3 Add getSpatial to GhostControl, RigidBodyControl, AbstractPhysicsCont… (#1041)
* Add getSpatial to GhostControl, RigidBodyControl, AbstractPhysicsControl and CharacterControl. Fix issue 1008

* Fix doc: control is attached to spatial. Not the other way around.

* Update doc: Clarify what getSpatial returns
2019-03-19 12:52:21 -07:00
Stephen Gold
72bed74fa1 complete the fix for issue #1027 2019-02-27 09:15:53 -08:00
Stephen Gold
15f9f69611 fix for issue #1027 - result of rayTest() 2019-02-26 17:05:58 -08:00
Stephen Gold
6ab7c0d91f fix for issue #910: PhysicsCharacter incompatibilities 2019-02-21 13:54:49 -08:00
Ali-RS
dae85e1598 Removed unused imports. (#1020) 2019-02-11 21:40:32 -08:00
Stephen Gold
51b12e1b9e test&fix for issue #1004 (RagdollUtils can't handle 16-bit bone indices) 2019-01-10 13:29:15 -08:00
Stephen Gold
53d7052301
test and fix for issue #970 (#973) 2018-12-14 18:26:06 -08:00
Stephen Gold
d8acd30a27
implement setContactResponse(boolean) for PhysicsCharacter (issue #964) (#971) 2018-12-12 08:29:08 -08:00
Stephen Gold
cf33c3c2dd
implement setContactResponse(boolean) for PhysicsRigidBody (issue #964) (#966)
partial
2018-12-08 00:07:44 -08:00
Stephen Gold
c29a4bb1c6 fix for JME issue #887 (debug mesh ignores scaling) 2018-11-20 08:38:16 -08:00
Stephen Gold
21454f2ab2 fix issue #923 for native Bullet 2018-10-31 17:04:14 -07:00
Stephen Gold
8f21a7eb55 test and fix for issue #931 2018-10-05 16:01:08 -07:00
Stephen Gold
02ec12e454 fix for issue #917 2018-10-02 08:57:16 -07:00
Stephen Gold
697b4a675e resolve issue #916 2018-09-29 11:35:32 -07:00
Stephen Gold
f16974fcb6 jme3-bullet: add and improve comments, mostly JavaDoc 2018-09-25 13:21:12 -07:00
Stephen Gold
84a103fbe4
fix for issue #740 (#906) 2018-09-23 19:19:36 -07:00
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