在实时更新path的坐标点位后,无法依次显示已经移动过的路径信息,请问是什么原因,或者有其他什么办法实现实时路径的显示吗
您好! 修改 entity 的位置的话,可以直接改变 entity 的 positions 属性,像这样:
pathEntity.polyline.positions = newPositions;
希望可以帮助到您!