Start a new topic

Translate 3d model to my right/left

Translate 3d model to my right/left
1 Comment


Hi,

I want to move the 3d model that I have trough my left or my right. It is simple if I leave my iPhone straight in front of the model. But when I rotate it, I can't use only 'translate.x' property, but I have to use sin and cos function to calculate the x and z translation value. But which is the angle? How can I get it?
Login or Signup to post a comment