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

Give the awake property of Body a change signal #104

Open
mitchcurtis opened this issue Nov 20, 2015 · 1 comment
Open

Give the awake property of Body a change signal #104

mitchcurtis opened this issue Nov 20, 2015 · 1 comment

Comments

@mitchcurtis
Copy link

This would be useful for animating an idle state of a game object, for example. I don't think that there's currently any way to be notified (via QML bindings) that a body has stopped moving.

@bjorn
Copy link
Member

bjorn commented Nov 21, 2015

Yep, there isn't, because I wasn't sure whether it would be useful while at the same time adding it would require checking the awake state for all bodies after each step. But the performance impact should be minimal so it could just be added.

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

2 participants