# Animation Challenge Chapter 1

**URL:** <https://forums.kodeco.com/t/animation-challenge-chapter-1/43372>\
**Category:** ARKit by Tutorials\
**Created:** [June 8, 2018, 3:30am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372 "2018-06-08T03:30:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![skiwalker](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/skiwalker/32/102075_2.png) [@skiwalker](https://forums.kodeco.com/u/skiwalker)\
**Post date:** [June 8, 2018, 3:30am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/1 "2018-06-08T03:30:36Z")

</div>

Where do you configure the animations for the challenge at the end of the chapter? I cannot find the answer in the solution folder provided.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [June 29, 2018, 1:58pm UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/2 "2018-06-29T13:58:14Z")

</div>

@paradox927 Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![abanet](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/abanet/32/81494_2.png) [@abanet](https://forums.kodeco.com/u/abanet)\
**Post date:** [October 18, 2018, 8:17am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/3 "2018-10-18T08:17:55Z")

</div>

I see the add an action to the earth object and another one to the moon

 ![29](https://raywenderlich-com-v3-forums.s3.amazonaws.com/original/3X/3/a/3a8d57f772b1ceb170d8b0d86f0a18dbd1b9e36c.png) and this is working. But when I do the same in a new project is not working so I think there is something more you have to do to get the animation…

---

<div class="post-metadata">

**Author:** ![chriscalifornia](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/chriscalifornia/32/78357_2.png) [@chriscalifornia](https://forums.kodeco.com/u/chriscalifornia)\
**Post date:** [October 24, 2018, 3:18am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/4 "2018-10-24T03:18:56Z")

</div>

Ok I figured it out, here are the steps:

1. Make sure the Scene Graph View is showing (click the left panel icon next to the camera picker at the bottom of the scene)

2. Drag and drop the moon into the sun, to make it a child node

3. Make sure the panel at the bottom is showing which has tabs for Shaders and Actions. If it isn’t then drag up from the bottom of the scene

4. Drag and drop RotateByAxisAngle from the Library into the actions tab for the earth

5. Set axis to x:0, y:1, z:0

6. Set angle to 1

7. Drag another RotateByAxisAngle from the Library into the actions tab for the moon

8. Set axis to x:0, y:1, z:0

9. Set angle to 1

For some reason all the action axis and angles are set to 0 in the challenge project, but it must be some sort of caching issue because the actions break as soon as you try to edit them.

---

<div class="post-metadata">

**Author:** ![shawn736](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shawn736/32/102075_2.png) [@shawn736](https://forums.kodeco.com/u/shawn736)\
**Post date:** [November 1, 2018, 9:55am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/5 "2018-11-01T09:55:05Z")

</div>

Thank you very much :]

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [February 10, 2019, 10:49am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/6 "2019-02-10T10:49:07Z")

</div>

@chriscalifornia Thank you for sharing your solution - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![skiwalker](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/skiwalker/32/102075_2.png) [@skiwalker](https://forums.kodeco.com/u/skiwalker)\
**Post date:** [June 11, 2019, 6:43am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/7 "2019-06-11T06:43:35Z")

</div>

Thank you everybody for all of your help!

---

<div class="post-metadata">

**Author:** ![zoran](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zoran/32/102075_2.png) [@zoran](https://forums.kodeco.com/u/zoran)\
**Post date:** [July 3, 2019, 8:06am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/8 "2019-07-03T08:06:47Z")

</div>

hi, I am still fundamentally lost on this one. is there an image (series of images) somewhere. I’ve moved things left, right and centre… on top of the earth (both image and word)… base of screen… everywhere, and nothing happens. what is the “actions tab”? the Xcode search doesn’t even give me a clue. I’m stuck and refuse to go further without knowing how to do what is “apparently” a basic instruction.

can someone please take a screen shot of where I am supposed to drag and drop the RotateByAxisAngle to… also, which one is it, there seem to be 2.

thanks, and please help before I lose all my hair.

zoran

---

<div class="post-metadata">

**Author:** ![zoran](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zoran/32/102075_2.png) [@zoran](https://forums.kodeco.com/u/zoran)\
**Post date:** [July 3, 2019, 8:23am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/9 "2019-07-03T08:23:01Z")

</div>

additionally I can’t seem to find “RotateByAxisAngle” in the library… closest is “RotateToAxisAngleAction”. I’m on the latest Xcode with swift 5. just purchased this book, now I’m worried that none of the tutorials will work properly.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [August 21, 2019, 10:40pm UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/10 "2019-08-21T22:40:10Z")

</div>

@zoran Do you still have issues with this?

---

<div class="post-metadata">

**Author:** ![wayne0714](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wayne0714/32/108441_2.png) [@wayne0714](https://forums.kodeco.com/u/wayne0714)\
**Post date:** [September 25, 2020, 10:43am UTC](https://forums.kodeco.com/t/animation-challenge-chapter-1/43372/11 "2020-09-25T10:43:06Z")

</div>

strange how the challenge project works with those values set to zeroes…
