merxais
03-08-2006, 05:20 AM
turn
public void turn(java.lang.String objName,
double degrees)rotates an object the specified number of degrees EX: turn("a", 90) will turn object a 90 degrees left turn("b", -90) will turn object b 90 degrees right
Parameters:
objName - the name of the object to be rotated
degrees - the number of degrees to rotate counter-clockwise about the y axis
i tried but it didnt turn.... how come?
public void turn(java.lang.String objName,
double degrees)rotates an object the specified number of degrees EX: turn("a", 90) will turn object a 90 degrees left turn("b", -90) will turn object b 90 degrees right
Parameters:
objName - the name of the object to be rotated
degrees - the number of degrees to rotate counter-clockwise about the y axis
i tried but it didnt turn.... how come?