Hello, brand new user here, doing the “getting started - build a village” tutorial.
I found an error in the documentation:
in the example code (black box), the second line is : box.rotation.y = BABYLON.Tools.toDegrees(45);
but should be: box.rotation.y = BABYLON.Tools.toRadians(45);
because otherwise it makes not much sense.
The playground code linked from the documentation site is not affected, because the line appears only in the documentation.
My specific question is: How do i send an Github Issue/Pull request to fix the error in the documentation? Is there a seperate github project for the documentation?
The “funny” thing is that both examples will not work.
The proper syntax should be ToRadians, with the first uppercase. Tools | Babylon.js Documentation
and the pull request is already accepted. that was fast. i’m very impressed with this community! You should add this bugs into the documentation by purpose, as an motivation tool for beginners