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

Script collision layer and mask don't have any effect. #23

Open
AiraldiSebastian opened this issue Dec 22, 2022 · 1 comment
Open

Script collision layer and mask don't have any effect. #23

AiraldiSebastian opened this issue Dec 22, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AiraldiSebastian
Copy link
Owner

For the handling of collision layers and mask two variables were added to the 'Item' script. These variables would be used to set the respective collision layers and mask of the object. After having add one new item it was realized that these variables don't have any effect on the item. These two variables are though also available per default on the Godot-Editor for this kind of items and only these work so far.

This should be fixed such that collision layers and mask can be easily set under the script variables available in the editor. Otherwise the creator of the item will have to look up for the default ones which are not so trivial to find.

@AiraldiSebastian AiraldiSebastian added the bug Something isn't working label Dec 22, 2022
@AiraldiSebastian AiraldiSebastian self-assigned this Dec 22, 2022
@AiraldiSebastian
Copy link
Owner Author

After testing around it was noted that these variables do have an effect, but first when the player picks up and drops the item. Before that, these variables are not used, instead the default ones are used. This issue between which variable for the collision layer is going to be used has to be solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant