playMaker

Author Topic: Help Counting Flips of 2D Object  (Read 1220 times)

Natecurt

  • Playmaker Newbie
  • *
  • Posts: 8
Help Counting Flips of 2D Object
« on: August 20, 2020, 10:27:02 PM »
Hello,

I am having trouble reproducing a mechanic and was hoping someone with more experience may be able to point me in the right direction.

Essentially, I am launching an object into the air and I want to count the number of times it makes a full rotation before landing. If the object lands on it's side, the counter must also wait until the object topples over to determine if it completed it's full rotation or only a half rotation.

The game I am referencing for this mechanic is:
https://play.google.com/store/apps/details?id=de.kamibox.and.pancake&hl=en

I'd appreciate any suggestions.