raycast help, added obstacle, but not as expected

wrong position, mesh not rebuild, not works if add agent.