Changing the angle of the Node with ARKit

Hello friends, in this article, we will talk about how to translate the Node we created with Swift ARKit. We will do this example on the house project we created earlier. You can find that article here.

As we did in previous projects, we first add the node that creates the house to our scene. Then we need to change the Euler Angle of this house. More information about the Euler angle can be found here. Of course, we cannot give a value in degrees to this angle. So we need to convert degrees to radians. For this we write a variable to Int. Then we can change the angle of the Node with this variable.

Actually, it’s that easy. You can access the project here. If you have questions, you can reach us by sending an e-mail or comment. Good work.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.