Hello world,
I'm kind of new to Greenfoot, I started 6 weeks ago. I'm working on a personal project at the moment, but I encountered a problem. In my game there's a tank actor (tank1) and there's a bullet actor (bullet1), I need to make the bullet actor take the same rotation as that of the tank. Between the quotes is an example of something I've tried:
"
Tank1 tank1;
setRotation(tank1.getRotation());
"
When I compile it, it doesn't give me any errors, but when I start the program it gives me an error on the second line you see there. Please post a comment if you know how to make the bullet get the rotation of the tank.
Thanks!

