playMaker

Author Topic: Float = Float * Float (is this possible?)  (Read 1053 times)

derfmilar

  • Playmaker Newbie
  • *
  • Posts: 5
Float = Float * Float (is this possible?)
« on: July 31, 2017, 11:50:18 PM »
Hey all!

I'm trying to set a float variable to be equal to the factor of two other variables: FLOAT = FLOAT * FLOAT (in my case it is actually SPEED = ROTATION * SPEED.

Does anyone know how I would go about doing this?

Thanks for any help!

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Float = Float * Float (is this possible?)
« Reply #1 on: August 01, 2017, 01:22:00 AM »
Checkout the action called "Float Operation", as it can handle all kinds of float operations.

You can save the output variable the same as one of the input. Ie.

Float 1: speed
Float 2: Rotation
Operation: multiple
Output variable: speed.