Calculating pitch?

Started by
0 comments, last by Dmytry 15 years, 3 months ago
Hello, I can calculate yaw (using atan) but I cannot calculate pitch (using asin). Here is my code: pitch = asin(vForward.y); How can I solve this?
Advertisement
normalize the vForward first.

What is exactly your problem anyway? How asin doesn't work?

This topic is closed to new replies.

Advertisement