basic behavor of obstacle