I have an error that doesn't make sense

I don’t get it i typed in the code to create ProcessRotation but it didn’t work. I need some help


Hi Tris,

Welcome to our community! :slight_smile:

Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture? Make sure that the curly brackets are at the correct position.


See also:

Welcome to the community @Tris

Your code is a bit wrong. There are 2 issues here:

  1. You are trying to call the ProcessRotation function, but it doesn’t exist. This is because your function has a typo and is called ProcessRoatation. Once this is fixed you still have an issue because

  2. Your ProcessRotation function is local to the ProcessThrust function. What that means is that the function is defined inside ProcessThrust and is scoped (only available) to other things inside ProcessThrust. You need to move ProcessRotation out of ProcessThrust

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms