Fixed simulator issue by using fixedUpdate() instead of update()