We noticed that the underlying FlexiblePathfinding WalkingPlugin assumes that entities are not affected by gravity. To simulate this, we'll use the FLYING movement mode for all entities when moving them with the WalkingMovementPlugin or LeapingMovementPlugin.
In addition, this PR adds the FallingMovementPlugin for downwards movements. Here, we actually want gravity on the NPC, so this plugin will use the WALKING movement mode.
Extracted from https://github.com/Terasology/Behaviors/pull/92
We noticed that the underlying
FlexiblePathfinding WalkingPlugin
assumes that entities are not affected by gravity. To simulate this, we'll use the FLYING movement mode for all entities when moving them with theWalkingMovementPlugin
orLeapingMovementPlugin
.In addition, this PR adds the
FallingMovementPlugin
for downwards movements. Here, we actually want gravity on the NPC, so this plugin will use the WALKING movement mode.