Hello.
So I'm trying to use PAvoider since my use case is to have an Actor (a hen) avoid another Actor (the gEgo) (ie. gEgo walks to the hen and the hen walks away and tires to avoid the gEgo). However, I think PAvoider is not meant for this. From the code, the description of PAvoider is:
;
; In contrast to the Avoider in SCI0 that makes an Actor avoid certain control colors, this
; avoider has been adjusted to use polygons for SCI1.1.
;
; Example usage::
;
; (gEgo setAvoider: PAvoider)
From the description, it sounds like PAvoider is meant to avoid certain polygons, not other Actors. However, I still do not understand which polygons the Actor would avoid if given a PAvoider. I've tried (gEgo setAvoider: PAvoider) in the init of the Room object, but nothing happens. Am I missing something on how to use PAvoider?
As a side note, since most likely PAvoider is not suitable for my use case, is there a class that makes one Actor avoid another Actor?
Thanks.