On Jan 12, 2015, at 10:35 AM, Bjorn Chin Fo Sieeuw <[hidden email]> wrote:
'Atoms.Type' does not have a member named 'rootNode'. What does this mean and what do I have to do to make the sphere move?
It says your Atoms class doesn't have a rootNode method or property.
You defined a local variable named rootNode in the carbonAtom() method. So either you should refer to it as just "rootNode", or you should move the declaration outside the method declaration so it becomes a property. (But even if it's a property, you can't refer to it from inside a class method, because there's no instance.)
The code you're modifying is just supposed to create the scene nodes. There must be other code in the project that actually runs the animation. You can't run the animation from the file you're modifying because it doesn't know what scene the atoms are going to be added to.