我在 NetLogo 中使用过face没有任何问题,但不完全一样吗?(在面向补丁/代理方向的代理的上下文中)
towards
towards agent
Reports the heading from this agent to the given agent.
If wrapping is allowed by the topology and the wrapped distance (around the edges of the world) is shorter, towards will use the wrapped path.
Note: asking for the heading from an agent to itself, or an agent on the same location, will cause a runtime error.
set heading towards turtle 1
;; same as "face turtle 1"
See also face.
有没有使用set 朝向 heading比使用face更好的情况?