libgdx decal dynamic text

前端 未结 2 1540
忘了有多久
忘了有多久 2021-01-28 03:59

I\'m working on 3D (2.5D) application in Libgdx. I\'ve found Decals very useful for this purpose.

In my app there should be layers, that contain dynamical text, now I\'m

2条回答
  •  借酒劲吻你
    2021-01-28 04:50

    To get the rotation behaviour of Decals you need to call translate first before rotate on the textTransform Matrix.

    textTransform.idt().translate(-50, 2, 25f).rotate(0, 0, 1, 45);
    

    I'm a little confused about this. Maybe its historically reasoned from a Matrix Stack.

提交回复
热议问题