Carlos R Posted December 19, 2014 Share Posted December 19, 2014 Hi folks, here I am bothering you on this forum hahaha. I've tried, unsuccessfully, to rotate a tree so it can be perpendicular to the surface of an sphere at some point. You can see what I did at http://uvshop.co/mimundo/. (I have use, without his permission, @Temechon trees, you can visit his tutorial here) The trees positions are genereted by using a random theta and phi angles: arbol.position.x = r * Math.sin(theta) * Math.cos(phi);arbol.position.z = r * Math.sin(theta) * Math.sin(phi);arbol.position.y = r * Math.cos(theta); Here is a pic And heres is another Thanks in advances and sorry for my bad english Quote Link to comment Share on other sites More sharing options...
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.