{"action":"closed","issue":{"url":"https://api.github.com/repos/Gabryxx7/TheTower/issues/7","repository_url":"https://api.github.com/repos/Gabryxx7/TheTower","labels_url":"https://api.github.com/repos/Gabryxx7/TheTower/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Gabryxx7/TheTower/issues/7/comments","events_url":"https://api.github.com/repos/Gabryxx7/TheTower/issues/7/events","html_url":"https://github.com/Gabryxx7/TheTower/issues/7","id":172022368,"number":7,"title":"Animator's RotationAroundPoint cause the game to crash if another rotation transition is in the animations queue for the same object","user":{"login":"Gabryxx7","id":6282055,"avatar_url":"https://avatars.githubusercontent.com/u/6282055?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabryxx7","html_url":"https://github.com/Gabryxx7","followers_url":"https://api.github.com/users/Gabryxx7/followers","following_url":"https://api.github.com/users/Gabryxx7/following{/other_user}","gists_url":"https://api.github.com/users/Gabryxx7/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabryxx7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabryxx7/subscriptions","organizations_url":"https://api.github.com/users/Gabryxx7/orgs","repos_url":"https://api.github.com/users/Gabryxx7/repos","events_url":"https://api.github.com/users/Gabryxx7/events{/privacy}","received_events_url":"https://api.github.com/users/Gabryxx7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T23:16:33Z","updated_at":"2016-08-20T23:06:12Z","closed_at":"2016-08-20T23:06:12Z","body":"Apparently, if an object already has a rotation transition either around a point or simply around its axes, the game will crash\r\n\r\nMore precisely, the guilty code section is this (I was just testing, sorry about the messy lines):\r\n\r\n```\r\ntime = (Rand(13)+ 11) / 5;\r\nmAnimator.CreateRotatingTransition(randomCubes[j].GetObjs()[i], Rand(360), Rand(360), [Rand(1),Rand(1),Rand(1)], time-0.5, true, false);\r\n\t\t\t\t\t\r\nmAnimator.CreateRotationAroundPointTransition(randomCubes[j].GetObjs()[i], randomCubes[j].GetObjs()[i].GetPosition(), randomCubes[j].GetObjs()[i].GetPosition() [0,0,-1*SCALE_FACTOR], 3.0,  true);\r\n```\r\n\r\nWhile the received error is this:\r\n\r\n```\r\nVirtualMachine ERROR (line 0): Valid operation but uncompatible data types:\r\n\t BoolOp Type2:Integer\r\n\r\n\tVal2: 0\r\n\r\n\r\nCall stack: \r\n------------------\r\nCalled from: ANIMATOR::UPDATETRANSITIONS(0)\r\nCalled from: LEVEL2::UPDATELOGIC(0)\r\nCalled from: GAMEMANAGER::UPDATELOGIC(0)\r\nCalled from: ONTIMER(0)\r\n------------------\r\n```"}}
{"actor":{"display_login":"Gabryxx7"}}