Function Entity.setRotation

Sets the rotation using Euler angles (degrees).

void setRotation(
  float x,
  float y,
  float z
);