MATH.ACOS HELLPPPP!!!!!!
2 posts • Page 1 of 1
MATH.ACOS HELLPPPP!!!!!!
hello i need some halp here:
i'm working on an angle reader for a ''box''
i know the calculation for it:
angle1 = math.acos((hit1(0) + ((hit1(1)^2 + hit1(0) ^ 2)^0.5)
but when i let it calculate it, it does nothing (it freezes on the last number that the variable was)
plz don't begin crying about the variables than they have to be: scene.my.angle1 because i WILL change it later

EDIT!!:
i saw a scene where they did the same i want to do and it worked with them... so i tried out myself and the solution whas: ''NaN'' (so angle1 = NaN) out of the calculation came ''3'' so math.acos(3) = NaN
i'm working on an angle reader for a ''box''
i know the calculation for it:
angle1 = math.acos((hit1(0) + ((hit1(1)^2 + hit1(0) ^ 2)^0.5)
but when i let it calculate it, it does nothing (it freezes on the last number that the variable was)
plz don't begin crying about the variables than they have to be: scene.my.angle1 because i WILL change it later
EDIT!!:
i saw a scene where they did the same i want to do and it worked with them... so i tried out myself and the solution whas: ''NaN'' (so angle1 = NaN) out of the calculation came ''3'' so math.acos(3) = NaN
- jessebax129
- Posts: 34
- Joined: Tue Jan 05, 2010 6:32 pm
Re: MATH.ACOS HELLPPPP!!!!!!
Don't open two topic about the same thing 
the other one is still open though
the other one is still open though
Link: "Surely somebody hates Walter Cronkite.."
Sonic: "Probably.. But somebody hates everyone."

Sonic: "Probably.. But somebody hates everyone."
-

link0007 - Posts: 408
- Joined: Thu Jun 11, 2009 2:45 pm
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests



