Moving a point/object in a 3D Plane/Environment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CodeNoob117
    New Member
    • Jan 2013
    • 19

    Moving a point/object in a 3D Plane/Environment

    The scenario:
    An object rotated 30 degrees right and 10 degrees up wants to move forward on its x,y,z plane, which is offset from the standard plane because of its rotation.


    Given a 3D Environment which has a standard x, y, z plane, and a separate object whose degree of rotation from the standard plane is known along with its x, y, z coordinates, how would the two x,y,z planes be correlated for movement? I want to think that you would have to somehow rotate the object's plane to match the standard plane, perform the movement, and then rotate the movement back to the objects original rotation, but I am not sure how to mathematically calculate this. Is this the right idea or is there an easier way as to correlating movement between two different planes?

    Any ideas and direction is appreciated.
    CodeNoob117
Working...