{"action":"created","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/669","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/669/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/669/events","html_url":"https://github.com/urho3d/Urho3D/issues/669","id":58657394,"number":669,"title":"From Blender to collada to urho scene importing. Light will always point the wrong way.","user":{"login":"Kiraffi","id":10407365,"avatar_url":"https://avatars.githubusercontent.com/u/10407365?v=3","gravatar_id":"","url":"https://api.github.com/users/Kiraffi","html_url":"https://github.com/Kiraffi","followers_url":"https://api.github.com/users/Kiraffi/followers","following_url":"https://api.github.com/users/Kiraffi/following{/other_user}","gists_url":"https://api.github.com/users/Kiraffi/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiraffi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiraffi/subscriptions","organizations_url":"https://api.github.com/users/Kiraffi/orgs","repos_url":"https://api.github.com/users/Kiraffi/repos","events_url":"https://api.github.com/users/Kiraffi/events{/privacy}","received_events_url":"https://api.github.com/users/Kiraffi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-23T22:09:13Z","updated_at":"2015-02-24T09:20:52Z","closed_at":null,"body":"I noticed that when I used the path of going from blender to collada, and then from collada to urho3d, the light seems to point exactly the opposite direction. The Light always has same weird rotation. For me this value would be:\r\n<attribute name=\"Rotation\" value=\"-4.37114e-008 0 -1 0\" />\r\n\r\nIf I set this value to 1 0 0 0, then the light points in the correct way, since the light is attached to a node.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/comments/75723098","html_url":"https://github.com/urho3d/Urho3D/issues/669#issuecomment-75723098","issue_url":"https://api.github.com/repos/urho3d/Urho3D/issues/669","id":75723098,"user":{"login":"Kiraffi","id":10407365,"avatar_url":"https://avatars.githubusercontent.com/u/10407365?v=3","gravatar_id":"","url":"https://api.github.com/users/Kiraffi","html_url":"https://github.com/Kiraffi","followers_url":"https://api.github.com/users/Kiraffi/followers","following_url":"https://api.github.com/users/Kiraffi/following{/other_user}","gists_url":"https://api.github.com/users/Kiraffi/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiraffi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiraffi/subscriptions","organizations_url":"https://api.github.com/users/Kiraffi/orgs","repos_url":"https://api.github.com/users/Kiraffi/repos","events_url":"https://api.github.com/users/Kiraffi/events{/privacy}","received_events_url":"https://api.github.com/users/Kiraffi/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T09:20:51Z","updated_at":"2015-02-24T09:20:51Z","body":"I think overwriting the rotation should work? Like setting the value to 1,0,0,0, because the light seems to have a node as a parent to LightAdjust node, and the parent has the true rotation of the light from the scene. Then again I do not know how it affects importing scenes from other 3d-modeling softwares.\r\n\r\nAs a matter of fact, I am not even sure what is the purpose of this one extra node that appears in the xml-file. The light itself is attached to it, but couldn't it be attached to the parent node that has all the rotation and position?"}}