Tuesday, 1 September 2015

Creating PhysicsWorld Object in Android

        private void createPhysics()
{
 physicsWorld = new PhysicsWorld(new Vector2(0,                          SensorManager.GRAVITY_EARTH), false);
     yourScene.registerUpdateHandler(physicsWorld);
}

No comments:

Post a Comment