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

[BUG]: destroy error with collider on pixel picker #152

Closed
lslzl3000 opened this issue May 17, 2023 · 1 comment · Fixed by #236
Closed

[BUG]: destroy error with collider on pixel picker #152

lslzl3000 opened this issue May 17, 2023 · 1 comment · Fixed by #236
Assignees
Labels
bug Something isn't working
Milestone

Comments

@lslzl3000
Copy link
Collaborator

Describe the bug

If destroy an object with ColliderComponent on pixel pick mode, there will be an error on destroy life hook of ColliderComponent.

To Reproduce

Steps to reproduce the behavior:

  1. enable pick and use pixel mode
  2. create an object with simple mesh
  3. add ColliderComponent to the object
  4. call destroy() on the object
  5. the object removed but there is a Uncaught TypeError

Expected behavior

Object3D could destroy with ColliderComponent with picker

Screenshots

Screenshot 2023-05-17 at 10 49 30

Orillusion engine version

0.6.2

Code demo link

https://codepen.io/orillusion/pen/XWxPoWN?editors=1010

@lslzl3000 lslzl3000 added the bug Something isn't working label May 17, 2023
@lslzl3000 lslzl3000 added this to the 0.6 milestone May 17, 2023
@hellmor
Copy link
Collaborator

hellmor commented Jun 26, 2023

#232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants