6 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
15285cc302 eliminate uses/overrides, deprecate implementations of cloneForSpatial() 2018-02-19 13:47:47 -08: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
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00