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

Malfunctioning objects repositioning #366

Open
KarinZamrazilova opened this issue Jul 16, 2024 · 2 comments
Open

Malfunctioning objects repositioning #366

KarinZamrazilova opened this issue Jul 16, 2024 · 2 comments

Comments

@KarinZamrazilova
Copy link

Hello! We got an issue: in our project we initialise and import objects. Then we have 2 functions: one of them uses object.set_position to move objects on to the table and the other one uses the same function to move it away from the table. The first case works always but the second one only about 90% of the time. They have the very same logic and are supposed to do the same thing with only difference in positions. Another issue is that when i call any of these functions, the program gets stuck for a second and then continues. I would like any recommendations on how to fix that

@cgokmen
Copy link
Collaborator

cgokmen commented Jul 17, 2024

Can you try forcing the object to be awake prior to moving it by calling .wake_up() on the object? Perhaps there is a bug in the sleep mechanism.

@KarinZamrazilova
Copy link
Author

Thank you so much, that helped.

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