You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2025. It is now read-only.
I started using godot-go recently and I gotta say - the work you've done here is amazing and I'd love to contribute and make it more stable - that saying, I have a problem I can't figure how to solve.
The bindings work fine but for some reason, the AnimationPlayer element is behaving odd.
Calling .Play() or .GetCurrentAnimationLength() seem to behave as if the gd.Real parameters and return values map to 0.
Things I've tried doing with no success:
Editing .Play() on AnimationPlayer and AnimationPlayerImplementer to accept gd.Float instead of gd.Real
Making gd.Float underlying type be float32 instead of float64
Description
I started using godot-go recently and I gotta say - the work you've done here is amazing and I'd love to contribute and make it more stable - that saying, I have a problem I can't figure how to solve.
The bindings work fine but for some reason, the
AnimationPlayerelement is behaving odd.Calling
.Play()or.GetCurrentAnimationLength()seem to behave as if thegd.Realparameters and return values map to 0.Things I've tried doing with no success:
.Play()onAnimationPlayerandAnimationPlayerImplementerto acceptgd.Floatinstead ofgd.Realgd.Floatunderlying type befloat32instead offloat64I've created an example project repo for convenience:
https://github.com/mastern2k3/godot-go-animtest
Would love help on this or maybe a new thread to follow, thanks in advance!
Details
go version go1.11 linux/amd643.1.stable.officialmaster branch "1746202"Linux Mint 19.1 linux/amd64