Comments and answers for "Shear transformation using GameObject transformations"
http://answers.unity.com/questions/961330/shear-transformation-using-gameobject-transformati.html
The latest comments and answers for the question "Shear transformation using GameObject transformations"Comment by Bunny83 on Bunny83's answer
http://answers.unity.com/comments/1520064/view.html
This answer is only true if you only use a uniform scale. If you have a non-uniform scale it can produce a shearWed, 20 Jun 2018 10:08:49 GMTBunny83Comment by Trejkaz on Trejkaz's answer
http://answers.unity.com/comments/1520059/view.html
Or you could use game objects and rotations and scaling. Example in my alternative answer.Wed, 20 Jun 2018 09:35:37 GMTTrejkazAnswer by Trejkaz
http://answers.unity.com/answers/1520058/view.html
It can be done. Example:
* Outermost game object: Rotation X=22.5, Y=0, Z=0
* Next game object in: Scale X=1, Y=0.3826834, Z=0.9238795
* Next game object in: Rotation X=-45, Y=0, Z=0
* Next game object in: Scale X=1, Y=2, Z=1.414214
* Standard unit cube inside that.
Produces a 45 degree shear on X:
![Screenshot][1]
The general case:
* Rotate by X=theta/2 counter-clockwise
* Scale by Y=sin(theta/2), Z=cos(theta/2)
* Rotate by X=45 degrees clockwise
* Scale by Y=sqrt(2)/sin(theta), Z=sqrt(2).
You can probably reduce that to two game objects but I left it as 4 to illustrate how many transformations are being done.
[1]: /storage/temp/119220-shear.pngWed, 20 Jun 2018 09:35:04 GMTTrejkazAnswer by steakpinball
http://answers.unity.com/answers/961422/view.html
No. Transforms can only translate, rotate, and scale. Combining those operations never produces shear. You will have to use something else to produce shear.Wed, 06 May 2015 17:56:07 GMTsteakpinball