Oliver Hope 261 Posted June 22, 2019 (edited) Hello Im not sure if this is a bug or if Im doing something wrong. you can see it works perfectly the first two times, but in the 3rd one it doesnt go down properly and this messes it up from then on. here is the code: LOGS: output_log.txt output_log_clean.txt Edited June 22, 2019 by Oliver Hope Share this post Link to post Share on other sites
Houp 237 Posted June 22, 2019 Hi, will try it next week. Is it happening each time in the same way? That the 3rd time goes wrong? (Attaching your logs can help to solve the issue) This should work but not indefinetely. Adding and removing 0.1 from y will have rounding issues. I would suggest to store original position and orientation in On create event and I would use these stored value to return object to an original position. 1 Share this post Link to post Share on other sites
Oliver Hope 261 Posted June 22, 2019 Just now, Houp said: Hi, will try it next week. Is it happening each time in the same way? That the 3rd time goes wrong? (Attaching your logs can help to solve the issue) This should work but not indefinetely. Adding and removing 0.1 from y will have rounding issues. I would suggest to store original position and orientation in On create event and I would use these stored value to return object to an original position. No it is seemingly random when it works and doesnt work. storing original position is a bit annoying, cause these instruction is meant to work with multiple entities, is there another way around it? I will attach the logs? Share this post Link to post Share on other sites
Houp 237 Posted June 22, 2019 Storing it to local variable in the start of Man hole animation could work. Or useing entity storage for it. 1 Share this post Link to post Share on other sites
Oliver Hope 261 Posted June 23, 2019 18 hours ago, Houp said: Storing it to local variable in the start of Man hole animation could work. Or useing entity storage for it. I tried this and it only made it worse? I did notice that there was a mistake in the code, the first rotation animation time was set to 1 which might have been causing problems. However the real problem is that the last set of animations dont reliably run, by extending the delay to 1.1 it seems to work fine however Id much prefer not to have the extra delay. also during my testing without the extra delay i noticed that sometimes it would go in the complete opposite direction. Something is a problem here? Share this post Link to post Share on other sites
Houp 237 Posted July 1, 2019 Hi, fix is ready. Problem was that if in the sameframe one animation ended and the second one start -> the second one was canceled. (so in your case it started "returning" before it went to the desired position. 1 Share this post Link to post Share on other sites
Houp 237 Posted July 16, 2019 Should work fine in today's hot fix 1 Share this post Link to post Share on other sites