View Single Post
  #3  
Old 08-29-2006, 12:16 AM
cade_mccall cade_mccall is offline
Member
 
Join Date: Sep 2004
Posts: 61
I'm using ppt data to translate the viewpoint but I'm changing the orientation of the body of the viewpoint. I'd like to translate the viewpoint according to the new orientation of the body, not according to the world axes. So, if I rotate the body 90 degrees I still want movement along the z axis of the room to result in forward movement. That only works if I use movement along the body's axes-- if I use world axes then moving forward in the room will move me sideways in the world since my body is now facing to the right. Right now I'm using the "move" function because it allows for a BODY ORI mask although then I have to calculate the relative changes in the ppt data instead of using the raw data since "move" translates relative to the current position. This works but I was wondering if I could skip the step of calculating relative changes by using something that just translates the viewpoint to absolute points within a rotated reference frame.
Reply With Quote