9 Commits

Author SHA1 Message Date
Stephen Gold
dc4189afc3 test case and fix for issue #911 2018-09-26 19:50:26 -07:00
Kai Boernert
96b355e38c added inertia manipulating methods 2017-08-31 21:39:54 +02:00
Dennis
02bc779866 Update com_jme3_bullet_objects_PhysicsRigidBody.cpp (#702)
* Update com_jme3_bullet_objects_PhysicsRigidBody.cpp

From docu here: http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Activation_States
..
ACTIVE_TAG
    Means active so that the object having the state could be moved in a step simulation. This is the "normal" state for an object to be in. Use btCollisionObject::activate() to activate an object, not btCollisionObject::setActivationState(ACTIVATE_TAG), or it may get disabled again right away, as the deactivation timer has not been reset. 
..

* Update com_jme3_bullet_objects_PhysicsRigidBody.cpp

Settin RigidBody kinematic and then back dynamic will leave activation state to disabled causing the object never fall to sleep.
2017-08-31 21:39:54 +02:00
Kai Boernert
22db3212e1 Finally fixing this
https://hub.jmonkeyengine.org/t/jmonkey-3-1-native-bullet-bug/33595/3
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=12158&f=9&t=

Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
2016-06-13 13:06:35 +02:00
Riccardo Balbo
d2c608c788 Fix for setAngularDamping / bullet native. 2016-04-21 18:33:50 +02:00
Maselbas
5de3163fb8 Bullet RigidBody : removed commented code 2015-05-18 22:36:45 +02:00
Maselbas
3780061863 Bullet PhysicsRididBody : compile time error fix 2015-05-18 00:34:42 +02:00
Maselbas
878f2cbbbc Bullet PhysicsRigigBody : added set/getAngularFactor(Vector3f) and set/getLinearFactor(Vector3f), these methods are usefull for locking axis translations or rotation 2015-05-17 20:40:25 +02:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00