hai friends
this is my surface and object
------------------------------------------------------
- -
- (this is my Envirnment) -
- -
- -
- -
- (0,0,0) -
- * ->front face of the object-
- -
- -
------------------------------------------------------
i will translate the object using x++ or x–;
then it will go to x positive or negative axis.
now i have translate the object in 5 points in x axis and then i have rotate the object in 90 degree y axis.
- -
- (this is my Envirnment) -
- -
- -
- -
- (now this arrow is x axis)| -
- * -
- -
- -
------------------------------------------------------
the environment is never going to rotate or translate.
my problem is here
now i am going to increment or degrement in x position only the object move its own x axis. how i can find this value.
(now if it is move relate to environment means z aixs).