|
|
1
2
据我所知,没有像这样的方法:.moveforward() 您可以使用当前位置:.getXYZ()和方向:getRotation()计算代理前面某个距离:r的点,然后使用.moveToStraight(x,y) x=r*cos(方向)+x_0 y=r*sin(方向)+y_0 |