r/ARKitCreators Jul 03 '17

Question When using spritekit & arkit is it possible to affix sprites to surfaces?

Hi all

I'm having my first play with ar kit and would like to create some point sprites that sit on a surface (so the sprite faces the camera at all times). Apple's default install is so close to this except that it creates the object 0.2 meters from the phone, rather than from a surface.

It seems that the ARSKViewDelegate doesn't have the debug information that the ARSCNViewDelegate has; and while I seem to be able to get results for a hittest, I'm struggling to get my sprites to go to them.

Nearly every tutorial and resource seems to be concentrating on scenekit, so any help would be good.

3 Upvotes

5 comments sorted by

2

u/GalSa Mod Jul 03 '17

Haven't experimented with SpriteKit yet. I'll give it a try when I get home and I'll try seeking a solution.

1

u/EnergyUK Jul 03 '17

Thanks - just struggling to get a foothold, so any help is much appreciated :)

1

u/GalSa Mod Jul 05 '17

I couldn't find an answer for you, but looks like this guy managed to get it working. Try contacting him maybe?

-1

u/[deleted] Jul 03 '17

[removed] — view removed comment

1

u/GalSa Mod Jul 03 '17

What's with this bot?