Emanuel Huser
Emanuel Huser

Reputation: 178

Arkit - Rotate object with camera rotation

How can I rotate a sphere accordingly to the camera rotation? Example: if i walk around my sphere, the sphere rotates with me, that I always see the same side.

Upvotes: 1

Views: 527

Answers (1)

jlsiewert
jlsiewert

Reputation: 3554

Use a constraint, for example a SCNLookAtConstraint to your view's pointOfView.

Upvotes: 1

Related Questions