olexale / arkit_flutter_plugin

ARKit Flutter Plugin
MIT License
797 stars 225 forks source link

Exposing Camera Euler Angles #119

Closed devsherif closed 3 years ago

devsherif commented 3 years ago

For an app I am developing. I needed to position a 2D plane and rotate it initially to face the camera. That's why I needed to access Camera's EulerAngles and I had to expose it using native Swift method. My app is now working as required with the local changes I applied to the plugin. And thought about adding that change for others to use.

I hope my change is clean enough for being merged with your main repo.

Thanks,

olexale commented 3 years ago

Hi @devsherif ,

Thank you for your contribution! 👍🏻

Please fix the comments above and I'll be glad to merge your changes to the repo! Thanks in advance!

Kind regards, Oleksandr

devsherif commented 3 years ago

Hi @olexale ,

Thanks for your attention. Requested changes applied. Please check.

Regards, Sherif

olexale commented 3 years ago

Hi @devsherif!

I'll push a new version with your changes today. Thanks for your help!!

Kind regards, Oleksandr

devsherif commented 3 years ago

Hi @olexale ,

Thanks a lot for your attention. And you can expect more changes soon ;)

Regards, Sherif

benMOOVENCY commented 2 years ago

Hi @devsherif,

have you a solution to expose the quaternion instead of the Euler angle to avoid the gimbal lock.

Cheers