private void createPhysics()
{
physicsWorld = new PhysicsWorld(new Vector2(0, SensorManager.GRAVITY_EARTH), false);
yourScene.registerUpdateHandler(physicsWorld);
}
{
physicsWorld = new PhysicsWorld(new Vector2(0, SensorManager.GRAVITY_EARTH), false);
yourScene.registerUpdateHandler(physicsWorld);
}
No comments:
Post a Comment