Yeah, I know about these series
I am just wondering how you would fit this steering behaviour in an ECS. You could have a
SteeringComponent with a type, like
Arrival. But then you couldn’t combine these, since you can only have 1 component of a specific type. You could ofcourse have a
ArrivalComponent but then your system will get very complicated and messy since you would have to combine the forces of both goals.
As I understand and how I will probably implement it, is using the suggestion of @pspeed of having a control driver with the desired behaviour contained. You have for example a
LocationDriver that would go to a location (seek and arrival behaviour combined) and in the meantime would also avoid objects or entities (evade behaviour). The list of entities to avoid can be set on the location driver component, but then again I don’t know if this is bad practice (I don’t like the idea of having list of entities somewhere)… still figuring stuff out