hydro
hydro

Reputation: 1

How to import LibGDX physics module?

I'm working with the LibGDX framework and I'm trying this:

World world = new World()

But I cannot import com.badlogic.gdx.physics.World, in gdx there is no physics module. I have imported gdx-backend-lwjgl.jar , gdx-backend-lwjgl-natives.jar, gdx.jar and gdx-natives.jar

Upvotes: 0

Views: 478

Answers (1)

Veljko
Veljko

Reputation: 1903

When creating the project using new snapshot project creator make sure to check Box2d check box.

That should do the work.

Upvotes: 1

Related Questions