init and step physics simulation