(Blender BDX) No tutorial on how to create 3D Mesh Animation

Anything libgdx related goes here!

(Blender BDX) No tutorial on how to create 3D Mesh Animation

Postby Potassium » Thu Jun 13, 2019 8:24 am

I've managed to find some API on how to code and play the animation from BDX but no tutorial on how to create the animation. I know that it has to do with the edit mesh of an object since putting any other names (prior to naming them all the same thing) in would result in a null-pointer but I have no idea where to go from here: https://imgur.com/a/ubo6a2Y

Code:

Code: Select all
public class Car extends GameObject {

    private MeshAnim ma;

    public void init(){
        ma = new MeshAnim(this);
        ma.add("Car Door Opening", new String[]{"Car"}, 12, true);
        components.add(ma);
        ma.play("Car Door Opening");
    }
}
Potassium
 
Posts: 11
Joined: Thu Jun 14, 2018 9:16 am

Re: (Blender BDX) No tutorial on how to create 3D Mesh Anima

Postby PlayLight » Thu Jun 13, 2019 10:24 am

There's a similar question on the GDX repository that might help.
cant play 3D animation #1042
PlayLight
 
Posts: 9
Joined: Sun Oct 21, 2018 1:16 am


Return to Libgdx

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest