without looking at the code there's no way we can tell what's going wrong. I'm guessing that you're either passing the wrong object references, though.
Type: Posts; User: helloworld922
without looking at the code there's no way we can tell what's going wrong. I'm guessing that you're either passing the wrong object references, though.
You're formula is slightly flawed. Arctangent is picky and doesn't take into account the signs of the two values, or when the x-direction is very close to zero (you'll essentially be trying to divide...