Jump to content
  • Advertisement
Sign in to follow this  
Concentrate

Calculating velocity given theta[SOLVED]

This topic is 3145 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do you calculate the z velocity given a theta and initial velocity. Is it possible or will it be some constant, I assume?
string theta = "45.0 degrees";
string initialVelocity = "10 m/s";
string velcoityInZ;
string velocityInY;
string velcotyInX;
I know how to calculate it in X and Y but I think in Z it would be constant. Just making sure if this assumption is correct? [Edited by - Concentrate on November 8, 2009 11:42:43 AM]

Share this post


Link to post
Share on other sites
Advertisement
Your assumption is correct. If there is only one angle given, then the output will lie in a single plane. It sounds like you've chosen the xy plane and therefore yes, z will be constant.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!