Creating this topic to catch any typos or bugs in the 1st Edition of Apple Augmented Reality by Tutorials.
Page 74, should say “At the top-left of the toolbar, …”
To the bottom of the page there is the line “Finally open .htaccess with a text editor.”
As far as I can see this is the first time this file is mentioned and to a newbie like myself. I do not know where to locate it to make the required changes. A bit more clarity would be useful.
Hope this all helps.
Page 46 Motion Types.
Reality Composer version 1.4 shows the two options to be fixed/dynamic not static/dynamic as shown in the book
Thanks for finding and reporting that. Fixed.
You are correct, this is the first time the .htaccess file is mentioned. We’ll see about getting some additional information added to the book. For now, know that the .htaccess file is a configuration file for your website (local or otherwise). It’s also a hidden file, which you can tell by the filename; hidden files start with a period in their name.
Hope that helps, and thanks for reporting this to us.
Thanks! We’ll make a note of it and get it updated.
Page 68 says to set the Position of the kick drum to
(X: 0cm, Y: 0,24cm, Z: 0cm)
The image shows the same Y value of “0,24 cm”. Is that supposed to be 0, 24, or 0.24?
I have a question. How can I select multiple objects in Reality Composer when they are one on top of the other.
(Chapter 7, Adding button interactions)
Hi there, it should be 0.24cm. Thanks for reporting the issue.
Hi there, this is a bit of an issue at the moment when working in Reality Composer, mainly because there’s no Scene Object Hierarchy available. To best work around I can suggest is to select the first image, then write down it’s Transform details. Now move it out of the way to expose the next image. Select the next image, write down Transform details for that one, before moving it out of the way. This allows you to get to the other images hidden below. Once you’ve made all your changes, just restore the Transform settings for the images you had to move out of the way.
Hope that helps.
Ok, I will try.
Version 0.3.0, page 261 has a typo. It says
Add the following to sessiongWasInterrupted(_:):
There is an extra ‘g’ in the method name.
1. AR Quick Start
tankAnchor!.turret?.setParent(tankAnchor!.tank, preservingWorldTransform: true)
tankAnchor?.cannon?.setParent(tankAnchor?.tank, preservingWorldTransform: true)
otherwise “Value of type ‘TinyToyTank._TinyToyTank’ has no member ‘turret’” error thrown
chapter 16: updating the focus node
“… the app will switch to PointToSurface…”
It should say PointAtSurface which is defined in the appState enum.
chapter 16: Creating the scene
“With the Base node selected…”
It is misleading because when you select the Base node under Base reference, the transform position is uneditable. It should say “Base reference selected”?
chapter 16: creating the scene
The base reference’s position should be (x:0, y:0.049, z:0) instead of (x:0, y:0.49, z:0)
I’m probably running into an embarrassing newbie problem but on page 20 the line
var tankAnchor: TinyToyTank._TinyToyTank? creates a build error for me. I tried to run the final code as well but same error. I’m on Xcode 11.7 and Catalina (10.15.7). Any ideas? Many thanks…