Search in sources :

Example 1 with PhysicsEngine

use of org.terasology.physics.engine.PhysicsEngine in project Terasology by MovingBlocks.

the class InitialisePhysics method step.

@Override
public boolean step() {
    PhysicsEngine physicsEngine = PhysicsEngineManager.getNewPhysicsEngine(context);
    context.put(Physics.class, physicsEngine);
    context.put(PhysicsEngine.class, physicsEngine);
    return true;
}
Also used : PhysicsEngine(org.terasology.physics.engine.PhysicsEngine)

Aggregations

PhysicsEngine (org.terasology.physics.engine.PhysicsEngine)1