Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by idlehands

  1. idlehands

    Need help understanding some operators

    Thanks a lot for the explanation! If you don't mind, can I would like to ask additional clarifications: 1. Does it mean that if the value of B becomes less than -1, it will be equal to -1? 2. If value of B >1, then it will be equal to whatever it is? Sorry to bother. Currently trying to learn...
  2. idlehands

    Need help understanding some operators

    Hi All, I am studying LUA scripting and came across a string of codes that I can't understand. Was hoping anyone here can help me understand this: local B = C - D B = B < -1 and -1 or 1 or B B = math.floor(B * 1000) / 1000 B = B + 0.3 * (1 - math.sin(B * 3.14 / 2)) + 0.2 The...
Back
Top Bottom