{"size": 4854, "ext": "js", "max_stars_repo_path": "ForumArchive/acc/post_8101_page_1.js", "max_stars_repo_name": "doc22940/Extensions", "max_stars_repo_stars_event_min_datetime": "2015-01-01T17:33:35.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-26T16:38:08.000Z", "max_issues_repo_path": "ForumArchive/acc/post_8101_page_1.js", "max_issues_repo_name": "doc22940/Extensions", "max_issues_repo_issues_event_min_datetime": "2015-06-20T00:39:16.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T22:55:27.000Z", "max_forks_repo_path": "ForumArchive/acc/post_8101_page_1.js", "max_forks_repo_name": "doc22940/Extensions", "max_forks_repo_forks_event_min_datetime": "2015-04-29T09:50:11.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:20:44.000Z"}
{"max_stars_count": 136, "max_issues_count": 60, "max_forks_count": 141, "avg_line_length": 4854.0, "max_line_length": 4854, "alphanum_fraction": 0.8508446642}
[{"Owner":"yuccai","Date":"2014-07-24T17:41:55Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Hello !_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_There are something i don_t_t understand regarding mesh rotation._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_1) i find the y positive rotation wrong but maybe it_t_s because the basis is indirect._lt_/p_gt__lt_p_gt_2) when i rotate a mesh_co_ does its rotation axis also turn? _lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Here is an example _dd_ _lt_a href_eq__qt_http_dd_//www.babylonjs.com/playground/#XXH6D%235_qt_ rel_eq__qt_external nofollow_qt__gt_http_dd_//www.babylonjs.com/playground/#XXH6D#5_lt_/a_gt__lt_/p_gt__lt_p_gt_There are 4 boxes _dd__lt_/p_gt__lt_p_gt_box1.rotation _eq_ (0_co_0_co_0)_lt_/p_gt__lt_p_gt_box2.rotation _eq_ (0_co_0_co_0)_lt_/p_gt__lt_p_gt_box3.rotation _eq_ (PI/2_co_0_co_0)_lt_/p_gt__lt_p_gt_box4.rotation _eq_ (PI/2_co_0_co_0)_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_in the render loop _lt_/p_gt__lt_p_gt_box1.rotation.z +_eq_ 0.01_lt_/p_gt__lt_p_gt_box2.rotation.y +_eq_ 0.01_lt_/p_gt__lt_p_gt_box3.rotation.z +_eq_ 0.01_lt_/p_gt__lt_p_gt_box4.rotation.y +_eq_ 0.01_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_there is no problem for box1 and box2 (even if i think that box2 should turn in the other way) but box3 and box4 are turning on the same axis in opposite way. I don_t_t understand why._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Thank you_lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_ _lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2014-07-27T19:08:11Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_No replies from the experts here_co_ yet_co_ yuccai?  hmm.  Well_co_ me posting this worthless reply will bring the issue back to the top of the forum list.  I think boxes 1-3 are acting correctly_co_ but box 4...  phew.  It is acting very strangely_co_ in my opinion._lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"yuccai","Date":"2014-07-27T22:51:28Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Thanks for your reply Wingnut ! It also confirm my doubt_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"binyan","Date":"2014-07-29T18:48:11Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Hi yuccai_co__lt_/p_gt__lt_p_gt_I think you should take a look at _lt_a href_eq__qt_http_dd_//www.html5gamedevs.com/topic/3083-spaces-world-parent-pivot-local/_qt__gt_this _lt_/a_gt_topic (for instance _lt_a href_eq__qt_http_dd_//www.html5gamedevs.com/topic/3083-spaces-world-parent-pivot-local/page-2#entry43608_qt__gt_this_lt_/a_gt_ post). Maybe it would be helpful to you to use _lt_/p_gt__lt_pre class_eq__qt_ipsCode prettyprint_qt__gt_mesh.rotate(BABYLON.Axis.X _co_ Math.PI/2_co_ BABYLON.Space.WORLD)_lt_/pre_gt__lt_p_gt__lt_span style_eq__qt_color_dd_rgb(102_co_102_co_0)_sm__qt__gt_ _lt_/span_gt__lt_span_gt_instead of _lt_/span_gt__lt_/p_gt__lt_pre class_eq__qt_ipsCode prettyprint_qt__gt_mesh.rotation _eq_ (Math.PI/2_co_0_co_0)_lt_/pre_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2014-07-30T00:28:41Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_This is all about local against global rotations _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ alt_eq__qt__dd_)_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt__lt_/p_gt__lt_p_gt__lt_a href_eq__qt_https_dd_//github.com/BabylonJS/Babylon.js/wiki/How-to-handle-rotations-and-translations_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//github.com/BabylonJS/Babylon.js/wiki/How-to-handle-rotations-and-translations_lt_/a_gt__lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_By the way to get global rotation_co_ just use _lt_span_gt_mesh_lt_/span_gt__lt_span style_eq__qt_color_dd_rgb(102_co_102_co_0)_sm__qt__gt_._lt_/span_gt__lt_span_gt_rotate function with _lt_/span_gt__lt_span_gt_BABYLON_lt_/span_gt__lt_span style_eq__qt_color_dd_rgb(102_co_102_co_0)_sm__qt__gt_._lt_/span_gt__lt_span style_eq__qt_color_dd_rgb(102_co_0_co_102)_sm__qt__gt_Space_lt_/span_gt__lt_span style_eq__qt_color_dd_rgb(102_co_102_co_0)_sm__qt__gt_._lt_/span_gt__lt_span_gt_WORLD parameter _lt_img src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ alt_eq__qt__dd_)_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ width_eq__qt_20_qt_ height_eq__qt_20_qt__gt__lt_/span_gt__lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]