Example usage for com.badlogic.gdx.graphics.g3d ModelInstance ModelInstance

List of usage examples for com.badlogic.gdx.graphics.g3d ModelInstance ModelInstance

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics.g3d ModelInstance ModelInstance.

Prototype

public ModelInstance(ModelInstance copyFrom, final Matrix4 transform) 

Source Link

Document

Constructs a new ModelInstance which is an copy of the specified ModelInstance.

Usage

From source file:com.badlogic.gdx.ai.tests.utils.bullet.BulletEntity.java

License:Apache License

public BulletEntity(final Model model, final btCollisionObject body, final Matrix4 transform) {
    this(new ModelInstance(model, transform.cpy()), body);
}