mrchantey / beet

A modular behavior library for the Bevy Engine.
https://mrchantey.github.io/beet/
Apache License 2.0
45 stars 1 forks source link

Deprecate `TargetAgent` #10

Open mrchantey opened 3 months ago

mrchantey commented 3 months ago

Specific entity relations components like targetagent and steertarget declare semantics, ie meaning of the relationship, at the type level which introduces type explosion and runtime rigidity.

The OnTrigger component simply allows for source and target agents to be specified, probably any other relations based component should do something similar instead of using a shared TargetAgent etc