OMAR Posted March 26, 2016 Share Posted March 26, 2016 Hi Babylon Community! For the last couple of hours I have been struggling with mesh rotations, and to be honest at this moment I simply have no idea how rotations work in Babylon. I created a simple PG here http://www.babylonjs-playground.com/#LOSW9#1 Basically, I want all the colorful planes in this PG to be perpendicular to the ground (I have tried everything and it's been painful for me so far) Somebody plz help ;__; Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 26, 2016 Share Posted March 26, 2016 The angles in the rotation vector are in radians. Try Math.PI / 2 OMAR 1 Quote Link to comment Share on other sites More sharing options...
OMAR Posted March 26, 2016 Author Share Posted March 26, 2016 wow it works now thanks 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.