Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with MoveToAction node and components #38

Open
agent-q1 opened this issue Jul 18, 2020 · 0 comments
Open

Issues with MoveToAction node and components #38

agent-q1 opened this issue Jul 18, 2020 · 0 comments

Comments

@agent-q1
Copy link
Contributor

Investigating the move_to behavior node

When trying to use the move_to behavior node in TutorialPathfinding , there were a couple of issues I came across that led to unexpected behavior.

Related to Terasology/MetalRenegades#70

Scenario 1:

Once the entity was spawned, it would just stay still at the spawn location even when MoveToAction was being called and a CharacterMoveInputEvent was being sent. In this scenario, both the location component of the entity and the target field of the MinionMoveComponent would point to the right places, but the entity would just not move. The CharacterMoveInputEvent would have the right fields but the character would not move.

Scenario 2:

The spawned entity starts moving in the direction of the target block but fails to stop at the target position. It would continue moving in a straight line indefinitely. Sometimes, the location component would point to the initial spawn point and would not get updated but the target field of the MinionMoveComponent would point to the right place.

Scenario 3:

Some times, the target would point to the spawn position itself and the entity would remain stuck at that position thinking it had reached its final position even though it hadn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant