kuckucksmuehle:events:rotation_angle

Calliope coding rotation angle

let RotationWinkel = 0 basic.forever(() ⇒ {

  RotationWinkel = input.rotation(Rotation.Pitch)
  if (RotationWinkel > 45) {
      basic.showIcon(IconNames.Sword)
  } else {
      basic.showIcon(IconNames.Yes)
  }

})

  • kuckucksmuehle/events/rotation_angle.txt
  • Last modified: 2018/07/23 14:31
  • by julius_kingsman