com.bulletphysics.collision.dispatch
Class SimulationIslandManager
java.lang.Object
com.bulletphysics.collision.dispatch.SimulationIslandManager
public class SimulationIslandManager
- extends Object
SimulationIslandManager creates and handles simulation islands, using UnionFind
.
SimulationIslandManager
public SimulationIslandManager()
initUnionFind
public void initUnionFind(int n)
getUnionFind
public UnionFind getUnionFind()
findUnions
public void findUnions(Dispatcher dispatcher,
CollisionWorld colWorld)
updateActivationState
public void updateActivationState(CollisionWorld colWorld,
Dispatcher dispatcher)
storeIslandActivationState
public void storeIslandActivationState(CollisionWorld colWorld)
buildIslands
public void buildIslands(Dispatcher dispatcher,
ObjectArrayList<CollisionObject> collisionObjects)
buildAndProcessIslands
public void buildAndProcessIslands(Dispatcher dispatcher,
ObjectArrayList<CollisionObject> collisionObjects,
SimulationIslandManager.IslandCallback callback)