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

3D Platformer #996

Closed
DoctorMikeReddy opened this issue Nov 16, 2023 · 3 comments
Closed

3D Platformer #996

DoctorMikeReddy opened this issue Nov 16, 2023 · 3 comments

Comments

@DoctorMikeReddy
Copy link

Which demo project is affected:

godot-demo-projects/3D/platformer

OS/device including version:

Windows 10

Issue description:

Game hangs with error:
Invalid set index 'parameters/state/current' (on base: 'AnimationTree') with value of type 'int'

Screenshots of issue:
image

@DoctorMikeReddy
Copy link
Author

Fixed. I just had to use transition_request instead of current

@Calinou
Copy link
Member

Calinou commented Nov 16, 2023

This is already fixed in the latest revision of the demo:

_animation_tree[&"parameters/state/blend_amount"] = anim

Demos on the asset library are only for 3.x, not for 4.x, so make sure to grab demos from this repository in the meantime.

@DoctorMikeReddy
Copy link
Author

DoctorMikeReddy commented Nov 16, 2023

I did get it from the repo
EDIT: Ah, I was on the 4.0 branch where, ironically, this isn't fixed. Assume that 'master' is where I need to be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants