how do I make the interactive actions work in an Xcode project

I have created a reality composer scene with tap actions. it works in reality composer on mac and ios. Those actions don't work once I load it in xcode. Do I have to separately code each action that I have already made in reality composer?


I understand that the notify action let's me make custom actions, but I thought that I would be able to automatically use the actions and behaviors made in reality composer.


thanks for any info.


Dale

Answered by carmandale in 368926022

I figured it out.


I needed to generate collision shapes for the shape triggers


boxAnchor.generateCollisionShapes(recursive: true)

Accepted Answer

I figured it out.


I needed to generate collision shapes for the shape triggers


boxAnchor.generateCollisionShapes(recursive: true)

how do I make the interactive actions work in an Xcode project
 
 
Q