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 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
I'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 |
go version go1.11 linux/amd64 |
| Godot version |
3.1.stable.official |
| Godot-Go version/commit hash |
master branch "1746202" |
| OS |
Linux Mint 19.1 linux/amd64 |
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