Terasology / GooeyDefence

A Tower Defence gameplay module for Terasology
https://terasology.github.io/GooeyDefence/
1 stars 8 forks source link

Rotate entities on movement #47

Open jdrueckert opened 3 years ago

jdrueckert commented 3 years ago

Currently, the Gooeys walk backwards towards their goal. This is most likely due to them not being rotated in https://github.com/Terasology/GooeyDefence/blob/develop/src/main/java/org/terasology/gooeyDefence/movement/MovementSystem.java#L91.

An additional potential factor to no rotation being present could be https://github.com/Terasology/Behaviors/issues/51 or more precisely the source model being the wrong way round in order to work in the cases where we use Behaviors.

jdrueckert commented 3 years ago

FYI: @syntaxi

jdrueckert commented 3 years ago

@skaldarnar found out during testing that this actually only applies to gooeys spawned with the spawnPrefab command. The ones produced as part of the enemy waves move forwards... Any way, I stil didn't see any rotation being applied in MovementSystem so let's keep this open as a todo item.