By default, the modelInstance is rotated by its centre (0,0,0), I want it to rotate by (0,2,2). I know that in other game engines, there is method like model.setRotationPivot(float)
, is there any similar method in libgdx?
// how to set rotation pivot?
modelInstance.transform.set(position, rotation, scale);
Thanks!
Late answer:
As I know there is no method to set the pivot. I use a workaround for this.