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
Textures! Normal Maps! And more! (experimental) See this PR and the readme section: #121 thx @bnjm
onARKitError on <ARKit /> component now reports when ArKit could not be initialized, e.g. because the camera access was denied.
onPlaneRemoved on <ARKit /> now is called when a detected plane has been removed (ArKit sometimes replaces detected planes entirely
new property origin={{position, transition}} on <ARKit />. Setting this property to a certain position shifts the whole coordinate system to that point. This is usefull if you always want to align everything to the floor, so any object with y-coordinate equals 0 will be exactly at the floor. E.g. use onPlaneUpdate to get detected planes and set origin to the plane with the lowest y coordinate. Use transition to animate that change
ARKit.hitTestSceneObjects and ARKit.hitTestPlanes respect the new origin property. Every reported position is relative to that origin. Use positionAbsolute to get the original, absolute position.
detected planes have now also new properties position (which was node before), positionAbsolute and eulerAngles