engine icon indicating copy to clipboard operation
engine copied to clipboard

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

Open MushAsterion opened this issue 9 months ago • 0 comments

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.

MushAsterion avatar May 14 '24 15:05 MushAsterion