Gerente Posted July 30, 2015 Share Posted July 30, 2015 Thanks to this amazing forum I have learn a lot of things, I have not found the function mesh.LookAt(mesh), does it exists? Im my demo I can move the text around the pivot vector3.zero but the text should be always looking at the point zero. How can I do that?.How to I get the normal of the plane?, UpVector, DownVector, etc.... ? http://www.babylonjs-playground.com/#1282WV#5 Thanks Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 30, 2015 Share Posted July 30, 2015 Yes LookAt exist: see here.http://babylondoc.azurewebsites.net/page.php?p=25145 You can also use billboardMode that keeps a plan still faces the camera:mesh.billboardMode = BABYLON.Mesh.BILLBOARDMODE_ALL; In your scene, I suggest you use a plan in place of meshGround, otherwise lookat and billboardmode have unexpected effects of horizontal orientation jahow and JackFalcon 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.