TextGeometry to always face user?

前端 未结 2 758
说谎
说谎 2020-12-31 09:23

I\'ve added some text to my scene with THREE.TextGeometry, and the text seems to be stuck in whichever xy plane I place it. Any way to have it adjust to always be in plane w

2条回答
  •  长情又很酷
    2020-12-31 10:10

    Try

    mesh.lookAt( camera.position );
    

    The local z-axis of the mesh should then point toward the camera.

提交回复
热议问题