OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:softBody
(Results
1 - 3
of
3
) sorted by null
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
btSoftRigidCollisionAlgorithm.cpp
25
///TODO: include all the shapes that the
softbody
can collide with
63
btSoftBody*
softBody
= m_isSwapped? (btSoftBody*)body1Wrap->getCollisionObject() : (btSoftBody*)body0Wrap->getCollisionObject();
66
if (
softBody
->m_collisionDisabledObjects.findLinearSearch(rigidCollisionObjectWrap->getCollisionObject())==
softBody
->m_collisionDisabledObjects.size())
68
softBody
->getSoftBodySolver()->processCollision(
softBody
, rigidCollisionObjectWrap);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
SoftBodyTest.java
42
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBody;
43
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBodyHelpers;
44
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBodyRigidBodyCollisionConfiguration;
45
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBodyWorldInfo;
46
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftRigidDynamicsWorld;
51
btSoftBody
softBody
;
88
softBody
= btSoftBodyHelpers.CreatePatch(worldInfo, patch00, patch10, patch01, patch11, 15, 15, 15, false);
89
softBody
.takeOwnership();
90
softBody
.setTotalMass(100f);
91
((btSoftRigidDynamicsWorld)(world.collisionWorld)).addSoftBody(
softBody
);
[
all
...]
SoftMeshTest.java
31
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBody;
32
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBodyRigidBodyCollisionConfiguration;
33
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftBodyWorldInfo;
34
import com.badlogic.gdx.physics.bullet.
softbody
.btSoftRigidDynamicsWorld;
40
btSoftBody
softBody
;
85
softBody
= new btSoftBody(worldInfo, meshPart.mesh.getVerticesBuffer(), meshPart.mesh.getVertexSize(), positionOffset,
88
softBody
.setMass(0, 0);
89
com.badlogic.gdx.physics.bullet.
softbody
.btSoftBody.Material pm =
softBody
.appendMaterial();
92
softBody
.generateBendingConstraints(2, pm)
[
all
...]
Completed in 885 milliseconds