asin(angle) -- with a range of -1 to 1?
Photics
Member Posts: 4,172
I'm thinking that GameSalad has the wrong text inside the parentheses of functions.
The asin function has a range of -1 to 1. That's not an angle, so it was confusing to me to see the word "angle" inside the parentheses. It's the same problem with acos. As for atan, the value can be well over 9000. That's not an angle. The result is an angle, with a value between -90 to 90.
I'm not likely to use asin(self.Rotation) so why have the word "angle" in there?
I think it should just be (x) instead of (angle)
Yes, I'm still working on the math section of my book. My head is not feeling too well. HA!
The asin function has a range of -1 to 1. That's not an angle, so it was confusing to me to see the word "angle" inside the parentheses. It's the same problem with acos. As for atan, the value can be well over 9000. That's not an angle. The result is an angle, with a value between -90 to 90.
I'm not likely to use asin(self.Rotation) so why have the word "angle" in there?
I think it should just be (x) instead of (angle)
Yes, I'm still working on the math section of my book. My head is not feeling too well. HA!
Comments
hmmmm, I wish there were some sort of book for this stuff.
_________________________________
So my kids think it's so cool their dad has made three fun iPhone apps. I come home from work and they say "Dad, can I get on your iPhone ...and play Angry Birds?"
But right now, ow, I feel strange. Today I'm testing out the various functions and I tried constraining the camera's rotation to an actor's rotation... it made me very dizzy. I felt like I was going to throw up. Hours later, my head still feels not well.