Rotating a cube in 3D ,Rotating a cube into specific coordinates with given input
Hello, i am new at unity and i have a problem. I want to rotate a cube from -for instance- (0,0,0) to (1,0,0) with the given input (for instance rightarrow) and new position must be exactly (1,0,0). In addition to that the initial location of the cube can change randomly. However it is tough with using physics mechanics (with using force method). I think it must be done with the transform and animation methods at the same time. How can i do that?
ps: Sorry for my bad english :) ,Hello, i am new at unity and i have a problem. I want to rotate a cube from -for instance- (0,0,0) to (1,0,0) with the given input (for instance rightarrow) and new position must be exactly (1,0,0). In addition to that the original location of the cube can change randomly. However it is tough with using physics mechanics (with using force method). I think it must be done with the transform and animation methods at the same time. How can i do that?
ps: Sorry for my bad english :)
Your answer
Follow this Question
Related Questions
Helicopter Move Local Position,Local Position 1 Answer
Convert transform.position to Force 0 Answers
How to Compare The Height oF TWo Height?? 0 Answers
Unity 2D lookat and shoot issues 0 Answers
GameObject not looking at me.. 1 Answer