add setTrackVelocities method
make isTerrain an Environment method
more planner changes