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

Ammo.js "table index is out of bounds" following Trigger destruction #6364

Open
MushAsterion opened this issue May 14, 2024 · 0 comments
Open
Labels
area: physics Physics related issue

Comments

@MushAsterion
Copy link
Collaborator

MushAsterion commented May 14, 2024

Hey there!

I ran into some troubles with Ammo.js and a trigger body. For some reasons I couldn't reproduce it on certain triggers but for some standalone triggers Ammo.js throws an error "Runtime Error: table index is out of bounds" on Node.

image
(using Ammo wasm)

image
(using Ammo)

Affected triggers seems to be only when trigger is not a child of any rigid body. When a trigger body gets destroyed, next simulation step will fail with the above errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: physics Physics related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant