Print Maximum / Minimum function?

TheBasedAbel

  • Posts: 24
I'm trying to accurately detect what kind of velocity I'm working with for one of my actors and I'm wondering if there's a way to make a print that shows the actors maximum x and y velocities over a certain amount of time and doesn't change after the actor's velocity decreases (so it only changes if the ball reaches a higher maximum velocity)

Definitely appreciate the help as I'm more of a "designer" than a "programmer" lol.

dtrungle

  • Posts: 1938
You have to set it up with code. Basically:

If currentSpeed is higher than maxSpeed, set maxSpeed to currentSpeed.
Print/Draw maxSpeed.

TheBasedAbel

  • Posts: 24
Gotcha, Thanks a mill.