View Single Post
  #2 (permalink)  
Old 03-01-2008, 11:27 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,398
Last Blog:
wxWidgets is NOT code ...
Rep Power: 37
WingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to behold
Default

Let me see if I understand:

You want the body to tilt when you aim up/down. This changes where the arm is, requiring a correction of the arm so you are still aiming at the desired location.

Thinking of this in terms of vectors, you want to have two vectors determine the position of the arm/body, rather than a single vector for the arm which will determine the appearance when aiming, correct? If so, I should be able to construct the equations you need to render the arm/body correctly.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Reply With Quote