engine
engine copied to clipboard
Ammo.js "table index is out of bounds" following Trigger destruction
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.
(using Ammo wasm)
(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.