Author Topic: Float changed with tolerance  (Read 65 times)


  • Full Member
  • ***
  • Posts: 125
    • View Profile
Float changed with tolerance
« on: June 12, 2019, 06:03:13 AM »

I have a situation where I need to preform an action when the rotation (a float) is changed on a gameobject. However, he object is never fully still, and is moving and rotating veeery slightly all the time due to the physics engine. I would like the use the "float changed" but the action triggers even if the float just moves 0.00001 units.

Is is possible to add a tolerance value to the float changed-action similar to the on in "Float compare"?



  • Administrator
  • Hero Member
  • *****
  • Posts: 4192
    • View Profile
    • jinxtergames
Re: Float changed with tolerance
« Reply #1 on: June 13, 2019, 07:19:04 AM »
Can you try the attachment below?

Let me know if it works correct so i can add this to the Ecosytem or ask Alex if i can update the original.