Apple Augmented Reality by Tutorials: error in first chapter

Hey guys,
I am playing with the brand new Apple Augmented Reality by Tutorials: Complete Book Now Available!
In chapter one I get this error
TinyToyTank/ViewController.swift:60:21: Value of type ‘TinyToyTank._TinyToyTank’ has no member ‘turret’

Not sure maybe the Reality Composer project file TinyToyTank.rcproject has issues in it? I picked it from github.

apparently its supposed to be cannon property not turret!!

5 Likes

How did you solve this problem?

i thinks its canon not turret for me its working when i add canon
tankAnchor?.cannon?.setParent(tankAnchor?.tank, preservingWorldTransform: true)