jens
jens
Hi @HarshDivecha, the model size is always relative to the marker size in the camera view. If you want to change the relative size you could provide an additional parameter...
> @j-era any tips on how to stabilize the model on the marker ? it keeps moving in the opposite direction of the camera on the marker. Let's say if...
Hi @aVileBroker, i'm not an TS expert, so I would be very happy if you could point this out with an example?
Added ts declarations in a separate [branch](https://github.com/artcom/react-three-arjs/blob/feature/add-ts-declarations/src/index.d.ts). @aVileBroker Would be happy if you can test if it works like this.
Updated types in 951e6b9 Think it should work like this @aVileBroker Did you try?
Alright, i see. The video element receives the clicks instead of the canvas objects. I'll fix that.
Fixed in `v0.5.2` (see b971d7f) @Carlos-AvilesBuitron Thanks for the hint!
Okay, think it's generally working https://codesandbox.io/s/determined-smoke-eo3jbn?file=/src/index.js ..but I recognize that some clicks are not handled, maybe some frames missing the tracking. Could you try the example, maybe it's working good...
I see there's still a problem on mobile devices. Works well on desktop in my case. Reopening..
There's a problem concerning portrait view. Ar.js generates a css margin-left which is taken into account in the r3f event system. I think the solution should be this [PR](https://github.com/artcom/react-three-arjs/pull/23/files)