Stephen Gold
70ae48af1e
avoid using raw types
2020-04-15 18:18:58 -07:00
Stephen Gold
f652591281
remove unnecessary casts and tests for null, discovered using NetBeans ( #1285 )
...
* remove unnecessary tests for null, discovered using NetBeans
* jme3-core: remove unnecessary casts
* jme3-examples: remove unnecessary casts
* jme3-vr: remove unnecessary casts
* jme-plugins: remove unnecessary casts
* jme3-terrain: remove unnecessary casts
* jme3-desktop: remove unnecessary casts
* jme3-android: remove unnecessary casts
* remove unnecessary casts, discovered using NetBeans
* TerrainQuad: back out one casting delta that's not a removal
* TerrainPatch: simplify generateLodEntropies() after removal of the cast
* TerrainPatch: simplify reIndexGeometry() after removal of the cast
2020-02-13 10:21:51 -08:00
Stephen Gold
0fd70b81c9
Add missing @Override annotations ( #1270 )
...
* jme3-core: add the missing @Override annotations
* jme3-desktop: add the missing @Override annotations
* jme3-bullet and jme3-jbullet: add the missing @Override annotations
* jme3-effects: add the missing @Override annotations
* jme3-terrain: add the missing @Override annotations
* jme3-examples: add the missing @Override annotations
* jme3-android: add the missing @Override annotations
* jme3-blender: add the missing @Override annotations
* jme3-ios: add the missing @Override annotations
* jme3-jogg and jme3-jogl: add the missing @Override annotations
* jme3-plugind: add the missing @Override annotations
* jme3-lwjgl and jme3-lwjgl3: add the missing @Override annotations
* jme3-networking: add the missing @Override annotations
* jme3-vr: add the missing @Override annotations
2020-01-30 09:16:47 -08: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
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
Stephen Gold
40be1b42b8
DynamicAnimControl: remove all mention of attachments incl. isReleased()
2019-04-26 10:20:08 -07:00
Stephen Gold
235b9db2ca
publicize Joint.applyBindPose(), add DynamicAnimControl & related stuff
2019-04-03 08:07:52 -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
51b12e1b9e
test&fix for issue #1004 (RagdollUtils can't handle 16-bit bone indices)
2019-01-10 13:29:15 -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
8f21a7eb55
test and fix for issue #931
2018-10-05 16:01:08 -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
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
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
32e3cb658f
correct typographical errors in comments
2018-02-01 18:16:32 -08:00
Stephen Gold
b159c847cc
comment corrections: mostly spelling and grammar
2018-01-16 18:35:07 -08: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
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
Paul Speed
20f62cbd64
Adding @Override to cloneForSpatial() methods in bullet lib.
2016-03-11 05:37:07 -05: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
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
Normen Hansen
87ba079dc3
- remove deprecation of CharacterControl
2015-01-29 15:34:28 +01: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
a16857c8f4
switch to gradle layout
2014-03-21 02:32:11 +01:00