All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
44
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to Math and Physics
Calculating pitch?
Math and Physics
Programming
Started by
pathon
January 11, 2009 03:51 AM
0
comments, last by
Dmytry
15 years, 3 months ago
pathon
122
Author
January 11, 2009 03:51 AM
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?
Cancel
Save
Advertisement
Dmytry
1,151
January 11, 2009 07:37 AM
normalize the vForward first.
What is exactly your problem anyway? How asin doesn't work?
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
How do you manage yourself and your time as years pass on?
GDNet Lounge
Too many managers?
General and Gameplay Programming
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
New Generated Constructor & JIT Issue
AngelCode
Inheriting from application registered class
AngelCode
Advertisement
Recommended Tutorials
Writing Game Music : Part IV
Music and Sound FX
Building a First-Person Shooter: Part 1.3 Keyboard Inputs
General and Gameplay Programming
Game Translation Fails — Common Causes and How to Avoid Them
Game Design and Theory
Concept Art with Photoshop - Characters
Visual Arts
Better Programmer Art
Visual Arts
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top