60 Commits

Author SHA1 Message Date
sha..RD
8538706254 * Add capability to serialize BVH data structure for MeshCollisionShape when native bullet is used (see http://hub.jmonkeyengine.org/forum/topic/meshcollisionshape-serialize/)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-10 00:29:34 +00:00
phr00t
efd7a8e7e8 Native bullet will no longer ignore changes to the broadphase type
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10604 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-10 14:13:25 +00:00
nor..67
9603b6d09b - add gravity getter for physicsspace
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-07 04:47:14 +00:00
nor..67
12771f839f - issue warning on unscalable collision shapes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10352 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-06 03:01:23 +00:00
nor..67
2f100c79fb - fix deprecation message and javadoc cleanups in PhysicsSpace
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10345 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 19:32:38 +00:00
nor..67
8992563b86 - add new BulletDebugAppState for physics debugging
- fix non-displayed physics objects in debug view
- remove dependency of base physics objects to scenegraph api, only jme math dependencies are left

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10342 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 19:19:31 +00:00
nor..67
2d5800d667 - add deprecation info to PhysicsSpace.enableDebug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 19:04:12 +00:00
nor..67
382169355c - fix replace mistake
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10339 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 15:09:07 +00:00
nor..67
1641238b58 - cleanup logger use in PhysicsSpace
- add getters for object lists

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10338 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 15:04:24 +00:00
nor..67
fa380923dc - cleaup adding/removing and tracking objects to the physics space
- warn user when objects are added or removed twice, do not allow this to happen

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10337 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 14:57:10 +00:00
nor..67
3fc8b7701a - remove physics debug implementation in favor of debug AppState (WIP)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 04:54:50 +00:00
nor..67
7ba657e430 - set logging from Level.INFO to Level.FINE for most logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 22:26:10 +00:00
nor..67
5d9b67214a - add some javadoc to HingeJoint setLimit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10053 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-04 13:03:16 +00:00
nor..67
1a4b918451 - fix ConeCollisionShape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 17:11:17 +00:00
sky..ok
dbbff08886 License maintenance in physics sources
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9855 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-08 14:29:11 +00:00
sky..ok
01f1c8ff27 Replace NetBeans file templates with jME licenses
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:22:45 +00:00
sky..ok
28ce76245f Change all source licenses to say 2009-2012
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:01:57 +00:00
nor..67
613d519544 SDK:
- remove useless synchonized statements from physics

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-13 20:55:07 +00:00
nor..67
7c18281818 - fix collision between linked bodies option for joints in native bullet (thanks to @iwgeric)
- add fixed osx binary (win/linux are built on the server)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9387 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-18 09:31:50 +00:00
sky..ok
96e20aad8d Javadoc fixes: Down from 260 to 221 warnings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9347 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-07 17:03:25 +00:00
Sha..rd
0c1294c57c * Mesh/GImpact collision shapes now support triangle strips/fans through Mesh.getIndicesAsList() method
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9300 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:29:07 +00:00
rem..om
e3ed779fc9 Committed iwgeric patch for native bullet PhysicCollisionEvent
http://jmonkeyengine.org/groups/android/forum/topic/null-objects-in-collision-callbacks-on-android-resolved/#post-169899

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9274 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-02 20:03:54 +00:00
sky..ok
533fb86c50 Down to 260 Javadoc warnings from 324
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-22 00:22:09 +00:00
nor..67
2511d6960e - add VehicleWheel.getDeltaRotation(), thanks to @niclas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 17:46:47 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
nor..67
1cc957e7e9 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:19:18 +00:00
nor..67
2f45134fd5 - fix TerrainPatch recognition in terrain compound generation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8739 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 12:45:39 +00:00
nor..67
397c2acec8 - fix scaling in terrain compound generation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8738 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 12:41:49 +00:00
nor..om
197bba7fe8 - fix TerrainPatch method signature to not break old projects, deprecate getHeightmap, add new getHeightMap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8737 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 12:09:21 +00:00
nor..67
aa4b8d19e7 - create HeightFieldCollisionShapes in CollisionShapeFactory CompoundShape generation as well
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8736 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 12:02:16 +00:00
nor..67
bd613fee2b - fix bullet CollisionShapeFactory for new terrain heightfield
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8735 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 11:50:18 +00:00
nor..67
439c5b36b8 native bullet:
- add ray test code, thanks to @EmpirePhoenix
- clean up import structure
- remove separate jmeUserPointer class


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8577 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 22:25:26 +00:00
nor..67
4ba3abcda9 - remove wheel finalization completely, need no deletion..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:18:20 +00:00
nor..67
5080e3fe43 - revert previous commit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:02:49 +00:00
nor..67
cac022d9bf - re-enable clearing of wheels as its not done in btRaycastVehicle destructor (though one can not remove wheels oO)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:01:09 +00:00
nor..67
768a2b9783 - native bullet: fix PhysicsVehicle wheel handling, using wheelIndex to select wheels now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8480 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 22:58:23 +00:00
nor..67
0868244b9a - fix PhysicsVehicle initialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 18:26:20 +00:00
nor..67
242af7aa5d - bullet native: fix changed signature for PhysicsRigidBody methods
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8404 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-15 21:35:04 +00:00
nor..67
3bf64fb343 - bullet native: fix changed signature for PhysicsCollisionEvent methods
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8403 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-15 21:30:42 +00:00
nor..67
5bfd3bd68c - add collision callbacks to native bullet
- add SixDofSpringJoint to native bullet
(thanks to @chototsu)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8395 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-15 14:27:28 +00:00
nor..67
f798988f0a - commit fix to native bullet RigidBody setRestitution (thanks to @chototsu)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8394 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-15 14:03:05 +00:00
nor..67
31e151fec1 - merge changes to native bullet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8144 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-01 00:53:54 +00:00
sha..rd
bf72c7975b * Reverted normen's confusion
* TGA loader now properly fails on grayscale formats

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7848 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-10 20:23:00 +00:00
nor..67
7cc3592f0f - revert ByteBuffer changes for native bullet objects (not asset data!)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7847 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-10 19:29:08 +00:00
sha..rd
a24becee32 * Replaced all usages of ByteBuffer.allocateDirect() with BufferUtils.create***Buffer() so that memory can be tracked
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-09 20:02:39 +00:00
rem..om
413f2b1e48 Implemented a new TempVars system, temp vars can now be requested without conflict.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7692 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 19:27:55 +00:00
nor..67
19403e5660 - add fix for physics mesh generation and physics collision shape ignore flag to native bullet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7687 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 12:07:04 +00:00
rem..om
e0ca5a4154 fixed KinematicRagdollControl for bullet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7639 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-15 21:05:51 +00:00
nor..67
3b8e37a51e - merge bullet native controls
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7626 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 14:27:31 +00:00