Homeostatic motion planning with innate physics knowledge