Fixed issue with animation. THe simulation Parameters were made as float and converted rightly