I’m totally new to Python and scripting, but using the Blender game engine, I’m trying to print a string of text followed by a value derived from an object’s roation, like this:
Rot X = .6789, where “Rot X =” is in the script and the .6789 is derived from the actual rotation.
I can print the values OK, but when I try to add the text (in quotes above) I get an error.
The print line is this:
print ‘Rot X =’ (rotx)
The value is working fine, the only problem is when I try to add my text after the print command I get an error pointing to the second ’ after the = sign.