search

Home  >  Q&A  >  body text

android - opengl es的旋转问题

用opengl es的旋转函数旋转物体时,物体总是绕自己的坐标轴旋转,这样的旋转看起来乱七八糟,有没有实用的解决办法?

大家讲道理大家讲道理2772 days ago526

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-17 17:41:36

    Translate the object so that the world coordinates are at the desired rotation axis position--->Rotate the object-----> Then translate the object back to the original position

    reply
    0
  • Cancelreply