I can't figure out how to return a bullet's rotation. I am making a car chase, where there are two cars, and there will be bullet fire from both sides. I want to make sure that the blue team isn't getting hit with their own bullets.
It says that it can't be referenced in a static context, but I have figured out ways around stuff like that before. I don't know what's different about this. =|
public static boolean isEnabled(){ if (getRotation() == 0 && getX() <= 950){ return true; }else if (getRotation() == 90 && getX() >= 100){ return true; } else{ return false; } }