Results 1 to 2 of 2

Math Help - Help with getting the change in x,y,z coordinate in 3d space!!!

  1. #1
    Newbie
    Joined
    Jan 2013
    From
    Behind you
    Posts
    5

    Help with getting the change in x,y,z coordinate in 3d space!!!

    Ok I'm making a 3d game and my problem is that I wanted to get what will be the new x,y,z coordinate depending on the rotation of the parent bone...see the image below for better understanding... see in fig a the parent bone(B) and child bone(A) both share the same x and y, and rotated at 0...Now in figure b,see the parent bone rotates 45 degree in let say y coordinate,now I found out how to get the new x based on the given side and angle with this formula: newx = tan(yrot)xlength of the parent bone...But suddenly I realized that not only rotation in y affects the x coordinate BUT also if you rotate it on z axis...Now I'm confused what to do to relate that z rotation on my formula...I hope you understand what the problem is...And if someone can help me...These are the given so far:location of parent bone(B)let's say 0,0,30 and location of the child bone 0,0,15 and the angle that was formed 45 degree and lastly we know what is the length of the bones 10x2...PLEASE HELP!!!
    Attached Thumbnails Attached Thumbnails Help with getting the change in x,y,z coordinate in 3d space!!!-xyz.png  
    Last edited by amiel; February 18th 2013 at 08:05 AM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Jan 2013
    From
    Behind you
    Posts
    5

    Re: Help with getting the change in x,y,z coordinate in 3d space!!!

    Ok Nevermind,I found out what to use...It's called Linear Algebra.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Change of coordinate matrix, new basis
    Posted in the Advanced Algebra Forum
    Replies: 5
    Last Post: July 13th 2011, 09:39 PM
  2. Convert from some 3d coordinate system to euclidian space
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: March 6th 2010, 06:56 AM
  3. left or right in coordinate space
    Posted in the Geometry Forum
    Replies: 2
    Last Post: October 7th 2009, 07:52 AM
  4. Change of coordinate proof
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: November 4th 2008, 08:53 PM
  5. Replies: 0
    Last Post: September 15th 2008, 06:34 AM

Search Tags


/mathhelpforum @mathhelpforum