ios-arkit
ios-arkit copied to clipboard
floorLoking it doesn't recognize it
using your framework, didn't change anything, but floorlooking isn't working, can you manage or help me to find the mistake ?
Hi @Stingray1 Of course, happy to help!!
First thing I'd double check is the configuration. A few things need to be properly configured so that floor images appear:
- showsFloorImages config parameter must be
YES - Your implementation of ARViewDelegate has to provide an
ARObjectViewto display when looking to the floor (i.e.floorLooking = YES). See the example
If that looks fine then you'll need to debug to understand what's happening. A few crucial points to check are:
- Check that you're actually receiving accelerometer updates. (Inclination is determined depending on the Z axis acceleration.)
- Check if your delegate is receiving the floor looking change event
- Check if the engine is trying to render the images
Hope it helps.
thank you very much :)
Did you manage to make it work?