Group Group Group Group Group Group Group Group Group

Chapter 1: No turret property

There’s no turret property of the instance type tankAnchor but cannon instead!

5 Likes

Thanks, this was helpful.

Came here to post this. Thank you @justinlearnios! Correct code as follows:

tankAnchor!.cannon?.setParent(tankAnchor!.tank, preservingWorldTransform: true)