Open 8Observer8 opened 2 weeks ago
And I have this messages: wasm streaming
and falling back to ArrayBuffer
when I run the example above:
I am having the same issue. The GetPositionBuffer method is returning a single object with x and y properties instead of a buffer. I can confirm all particles are there when debugging but cannot render the particles due to GetPositionBuffer not working as expected.
I try to use liquid fun. GetPositionBuffer doesn't return a list:
I prints
undefined
.But it must return a list because C++ works like this:
Full example that includes the liquid fun lib library: get-position-buffer-box2dwasm-js.zip
index.js
index.html