ikerdo 12 Posted July 27, 2014 (edited) I am trying to make a rotating door, but I dont know how to loop the animation. In model.cfg I have setup sourceAddress="loop"; so in buldozer it is ok. But I don´t know how to setup the config.cpp to make it work. I need it to loop without any user action. Edited July 27, 2014 by ikerdo Share this post Link to post Share on other sites
pettka 694 Posted July 28, 2014 I am trying to make a rotating door, but I dont know how to loop the animation. In model.cfg I have setup sourceAddress="loop"; so in buldozer it is ok.But I don´t know how to setup the config.cpp to make it work. I need it to loop without any user action. The easiest way actually doesn't require any special stuff in config.cpp, just use the model.cfg as You already do and add this: sourceAddress="loop"; source = "time"; minValue = 0; maxValue = 5; /// or any other value, this should be the period of turning the door angle0 = 0; angle1 = (rad 360); /// I expect You would like the door to make the full circle, or You may possibly make them turn just a portion of circle according to number of planes I hope it helps :icon_twisted: Share this post Link to post Share on other sites
ikerdo 12 Posted August 7, 2014 Ok.Thanks a lot!!! that worked ! Share this post Link to post Share on other sites