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

get_bone_parent() returns 18446744073709551615 instead of -1 #365

Open
MarioMey opened this issue Aug 18, 2022 · 1 comment
Open

get_bone_parent() returns 18446744073709551615 instead of -1 #365

MarioMey opened this issue Aug 18, 2022 · 1 comment

Comments

@MarioMey
Copy link

By running this script in an Skeleton, being "Bone.000" the root of the Skeleton, instead of returning -1, it returns 18446744073709551615

from godot import exposed, Skeleton

@exposed
class Skeleton(Skeleton):

	def _ready(self):
		this_bone = self.find_bone('Bone.000')
		print(self.get_bone_parent(this_bone))
--- Debugging process started ---
Godot Engine v3.5.stable.official.991bb6ac7 - https://godotengine.org
OpenGL ES 3.0 Renderer: AMD Radeon(TM) Vega 11 Graphics (RAVEN, DRM 3.40.0, 5.10.0-16-amd64, LLVM 11.0.1)
Async. shader compilation: OFF
 
Pythonscript 0.50.0 (CPython 3.8.5.final.0)
18446744073709551615
--- Debugging process stopped ---
@MarioMey
Copy link
Author

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