NemesisMate
31933ff365
Removed the override that avoided a CompoundCollisionShape to be scaled
8 years ago
Riccardo Balbo
e452ec8f0c
Fix MeshCollisionShape crash when loaded from j3o: always create BVH before scaling.
8 years ago
javasabr
e26f0f133b
fixed cloning and saving some contorls.
8 years ago
javasabr
637635d53f
Fixed saving/cloning enabled state of a RigidBodyControl.
8 years ago
Kirill Vainer
3cdb7fd928
bullet-native: move generate headers task
8 years ago
Riccardo Balbo
56558841e7
CylinderCollisionShape: don't print warning if scale = 1,1,1
9 years ago
William Linna
c85fd3fe26
Add/remove all PhysicsControls even when a RigidBodyControl is present
9 years ago
NemesisMate
8a058c61f1
Changed LinkedList for ArrayList in rayTests
9 years ago
NemesisMate
3b0e0766c5
Oops!
9 years ago
NemesisMate
4cd424ad03
Ordering physics rayTest returned list instead of reversing it.
...
Added raw results ray tests too.
9 years ago
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
9 years ago
NemesisMate
513eedaea1
Fixed a little bug I left on reversing the list :S:
9 years ago
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.
9 years ago
Fadorico
83b26be45a
Combine result of both listeners to determine if the collision should occur
9 years ago
Fadorico
ef626b0959
Fixed group collision check in native broadphase
9 years ago
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.
9 years ago
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.
9 years ago
Paul Speed
20f62cbd64
Adding @Override to cloneForSpatial() methods in bullet lib.
9 years ago
Fadorico
7628b0f9e3
Fixed collision group listeners not being notified
9 years ago
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"
9 years ago
MeFisto94
5064552905
Fixes #373 - Faulty Loggings of a SphereCollissionShape when using native bullet
9 years ago
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).
9 years ago
Dokthar
00c687b4d8
fix #383 : in PhysicsRigidBody the old statement in read() (l.741) was always false
9 years ago
Kirill Vainer
f836b26f2e
CapsuleCollisionShape: warn about scaling only if its not identity
9 years ago
Dokthar
abbdefdcef
Bullet RigidBody : revert IDE autoformatting noise
9 years ago
Dokthar
b1473c302c
Bullet RigidBody : modification of the serializer to support the old & new angular factor
9 years ago
Dokthar
7f2c7c5d35
Bullet RigidBody : prevent from breaking the API & reverted
10 years ago
Maselbas
3780061863
Bullet PhysicsRididBody : compile time error fix
10 years ago
Maselbas
878f2cbbbc
Bullet PhysicsRigigBody : added set/getAngularFactor(Vector3f) and set/getLinearFactor(Vector3f), these methods are usefull for locking axis translations or rotation
10 years ago
Kirill Vainer
cd1d145005
PhysicsSpace: add method to set solver iterations
...
Thanks to Seppes (see thread: http://hub.jmonkeyengine.org/t/how-to-access-native-bullets-constraintsolver-numiterations )
10 years ago
iwgeric
70b03ea28a
Bullet (and jBullet): Remove deprecated PhysicsSpace.enableDebug method in favor of BulletAppState.setDebugEnabled.
10 years ago
Turakar
92b2ec664e
Fixed typo #258
10 years ago
rainmantsr
5c8b1fe585
Corrected JavaDoc comment
10 years ago
rainmantsr
31835366b2
Add: sweepTest to jme3-bullet-native
10 years ago
Kai Börnert
409f5ab766
A very small change that creates two getters in VehicleWheel,,
...
these are necessary if jme's bullet wrapper is used in a non Scenegraph enviroment,
for example a ES based server.
Signed-off-by: Kai Börnert <kai-boernert@visiongamestudios.de>
10 years ago
Normen Hansen
3aa8aed142
- add/remove multiple physics controls via PhysicsSpace.add / .remove
10 years ago
Normen Hansen
87ba079dc3
- remove deprecation of CharacterControl
10 years ago
Utlaen
1ddb8c22da
https://github.com/jMonkeyEngine/jmonkeyengine/issues/179
10 years ago
Normen Hansen
160cdb9d0d
fix issue with setGravity/getGravity in native bullet
10 years ago
David Bernard
3c72c065ad
bullet: refactor PhysiscSpace.addAll/removeAll
...
- only add joint with current PhysicNode is BodyA
- => avoid logging warning
- => fix a previous bug in test about getBodyA when adding/removing BodyB
- remove optimisation that by-pass routing made by add()/remove()
10 years ago
neph1
8700871e76
Fixed some merge issues (now it's working properly)
...
Added test case for IK
11 years ago
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.
11 years ago
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.
11 years ago
shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
11 years ago
Normen Hansen
bf4a810272
- change push() --> add() for physics collision events
11 years ago
Phr00t
ecf6297783
stack to deque
11 years ago
Phr00t
d200e406d5
performance improvements to PhysicsSpace
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
sgold
d7dc3a1600
Bugfix: issue #631 (MeshCollisionShape constructor requires a TriMesh) in gradle-restructure branch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11094 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
bcff9ea50e
KinematicRagdollControl now throws a proper exception when the skeleton control is not found on the model.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11084 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago