We can finally render the model after performing the following operations on it:
Modeling
Rigging
Animating
Giving the animation a name
Getting the texture UV maps
Texturing or painting (based on your preference and/or needs)
Exporting
Converting the file to a format
What we do here is, first, copy the converted file along with the texture file to our assets
folder. For us, it is Assets
| Data
from our Android
project:
We'll then clean up and add the respective code to GameWold.java
:
public class GameWorld { private static final boolean debug = false; private DebugDrawer debugDrawer; private Engine engine; private Entity character, gun; public BulletSystem bulletSystem; public ModelBuilder modelBuilder = new ModelBuilder(); public PlayerSystem playerSystem; private RenderSystem renderSystem; Model wallHorizontal = modelBuilder.createBox(40, 20, 1, new Material(ColorAttribute...