Terasology / Behaviors

Store for an assortment of behaviors that can be applied to creatures
https://terasology.github.io/Behaviors
6 stars 18 forks source link

feat!: Replace Pathfinding with FlexiblePathfinding (part 2) #89

Closed skaldarnar closed 2 years ago

skaldarnar commented 2 years ago

Follow-up to #88.

Integrates the state of https://github.com/Terasology/FlexibleMovement/commit/e722d750a3fb8e232f731071682f50a9959c173a into this module.

Follow-ups

jdrueckert commented 2 years ago

@DarkWeird I removed the following behavior node prefabs:

For each of them you seem to have created a replacement in FlexibleMovement that's copied over here in this PR:

Can you tell me what these prefabs are used for?

Also, I noticed the following changes when comparing the originals and their replacements:

DarkWeird commented 2 years ago

@DarkWeird I removed the following behavior node prefabs:

  • findPathTo.prefab
  • moveAlongPath.prefab
  • moveTo.prefab

For each of them you seem to have created a replacement in FlexibleMovement that's copied over here in this PR:

  • findpathtonode.prefab
  • movealongpathnode.prefab
  • movetonode.prefab

Can you tell me what these prefabs are used for?

Also, I noticed the following changes when comparing the originals and their replacements:

  • removal of action field - why is this not needed anymore?
  • removal of displayName field - why is this not needed anymore?
  • replacement of name field value with displayName field value - is this the new "displayName" field?
  • introduction of type field - where does this come from?

Seems this prefabs using for BehaviorsEditor only. I don't feel any problem... When haven't thm

jdrueckert commented 2 years ago

FlexibleMovement as a replacement for PathFinding