You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TriMesh uses Float32Array for the vertices, but SparkAR doesn't seem to support TypedArrays out of the box. (strange...dunno why). Of course, there may be polyfills available though that the user may download on his own in the unlikely case they use trimesh. The "official" package published on Spark AR Library appears ot have this issue if you use something like: CANNON.Trimesh.createTorus(4, 3.5, 16, 16); . But from the typehintings, Trimesh seems to be unavailable and not found in intellisense though..even though you can still call it remotely.
The text was updated successfully, but these errors were encountered:
Glidias
changed the title
TRIMESH likely doesn
TRIMESH likely doesnt work.
Mar 12, 2020
TriMesh uses Float32Array for the vertices, but SparkAR doesn't seem to support TypedArrays out of the box. (strange...dunno why). Of course, there may be polyfills available though that the user may download on his own in the unlikely case they use trimesh. The "official" package published on Spark AR Library appears ot have this issue if you use something like:
CANNON.Trimesh.createTorus(4, 3.5, 16, 16);
. But from the typehintings, Trimesh seems to be unavailable and not found in intellisense though..even though you can still call it remotely.The text was updated successfully, but these errors were encountered: