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

skeleton var is returning null even if you put jigglebone as a child #8

Open
Crogarox opened this issue Nov 12, 2021 · 3 comments
Open

Comments

@Crogarox
Copy link

onready var skeleton : Skeleton = get_parent()
returns null even if you put it as the child node.
image

@Crogarox
Copy link
Author

Reloading the scene fixes it, but now I get this error.
scene/3d/skeleton.cpp:381 - Index p_bone = -1 is out of bounds (bones.size() = 11).

@Crogarox
Copy link
Author

For some reason the 0th index is read as index -1, I think godot on the c++ side count is off by 1.

@TokisanGames
Copy link

Line 14 doesn't run properly in tool mode and isn't in the original repository. You could try disabling tool mode. Other changes you've introduced may be causing your other errors.

You can try my fork which supports collision, disables tool mode, and many other changes.
https://github.com/tinmanjuggernaut/godot-jigglebones

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