Mirroring/Reflecting piece orientation
Posted: 10 Jun 2014, 14:16
Well seems, i fail at the most basic task.
I have two pieces at a unit, one which gets a random direction. The other one should gets the same direction, but mirrored on the yz-plan (y_axis).
Now i tryied the usual suspects. Householder Matrice which gave me this
Which did not work. I tryied getting the vector of the piece and to computate that one via math.acos(v1) - which again did not work.

Also yes its a basic problem.. but we need more thread on basic problems, cause that is were the newbs are.
any help is welcome
I have two pieces at a unit, one which gets a random direction. The other one should gets the same direction, but mirrored on the yz-plan (y_axis).
Now i tryied the usual suspects. Householder Matrice which gave me this
Code: Select all
1 0 0
0-1 0
0 0 1
Also yes its a basic problem.. but we need more thread on basic problems, cause that is were the newbs are.
any help is welcome