working on mobile version
update pos and rot only once per second