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

lua: support for async interactive get/set sequences #121

Open
kikonen opened this issue Dec 27, 2024 · 0 comments
Open

lua: support for async interactive get/set sequences #121

kikonen opened this issue Dec 27, 2024 · 0 comments
Labels

Comments

@kikonen
Copy link
Owner

kikonen commented Dec 27, 2024

Current command logic is really suitable only for "semi static" animations, since it's not possible to query node state in the middle of command sequence, i.e. all lua code executed in lua coroutine is synced with c++ side only via "resume", which blocks animation loop until resumed.

Doing such yield/resume after every command would be too expensive, since would require too much sync code between lua and c++ side.

Should somehow wrap command sequence logic into "async / wait" kind of logic in script

@kikonen kikonen added the big label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant