paulrhayes.com-experiments icon indicating copy to clipboard operation
paulrhayes.com-experiments copied to clipboard

bug in rotation

Open marko999 opened this issue 11 years ago • 1 comments

there is bug in rotation when you combine x and then y rotation in certain order, on next y rotation, cube is rotated by z not by y...steps to reproduce:

  1. press up
  2. press right

repeat until you get this bug

I have created similar box for my own amusement and similar thing happened, I am trying to resolve this problem, if I do, gladly will fork it and fix it

cheers Marko

marko999 avatar Sep 25 '14 01:09 marko999

@joelambert has a good take on this, with a fix, here: http://blog.joelambert.co.uk/2011/05/10/handling-3d-geometry-with-3d-css3-transforms/

fofr avatar Nov 24 '14 16:11 fofr