Put object3d in the altitude location destination position

59 views Asked by At

How can set node (3d object) in the floor with ARKit and CoreLocation?

I want when my distance is less than 20 meters. My object on the ground using altitude. I use CoreLocation and SceneKit.

Do you have any idea?

Thanks.

1

There are 1 answers

2
Andy Jazz On BEST ANSWER

CoreLocation framework gives you an altitude instance property, measured in meters:

var altitude: CLLocationDistance { get }

Also you can use a floor property that's a logical floor of the building in which the user is located:

@NSCopying var floor: CLFloor? { get }