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

Tasks refactor #366

Open
ArchDemons opened this issue Apr 12, 2020 · 1 comment
Open

Tasks refactor #366

ArchDemons opened this issue Apr 12, 2020 · 1 comment

Comments

@ArchDemons
Copy link
Collaborator

ArchDemons commented Apr 12, 2020

We need to slightly change our tasks.

It is necessary to separate the position of the target and the position from which creature can complete the task. For example, the destruction of solid block. Solid block can be destroyed from four free sides. I'll show you a better in picture ...

1

With this approach, we can calculate the rotation vector and orient the creature facing the target.

@tonihele
Copy link
Owner

Hmm, I think this is already implemented partially. If you see the dig tile task. Just now it just doesn't select the available work position very nicely, but all the bits and parts are there more or less. Just the functionality is a bit lacking.

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

2 participants