Hi Duncan
Thanks for the answer - it does make sense (also in light of the other
replies to the same post). In my app, I've attached a simple 360
degree slider to the Y property, and I'd like that to rotate my layer
smoothly through the Y axis by 360 degrees. What I'm seeing then, is
th
Le 14 juil. 08 à 18:57, John Clayton a écrit :
Hi All,
I'm setting the rotation values of a CALayer, and notice that when
setting the Y component of rotation of a CATransform3D structure via
the :
[layer setValue:someValue forKeyPath:@"transform.rotation.y"]
call, that in certain
John,
You're rotating layer around Y axis by 2.12041 which is greater than
PI/2. So after rotation you're looking at the "back side" of the
layer, that's why X and Z get close to PI (i.e. flipped).
- Dmitri
On Jul 14, 2008, at 8:57 PM, John Clayton wrote:
Hi All,
I'm setting the rotatio
On Jul 14, 2008, at 9:57 AM, John Clayton wrote:
Huh?
Question 1: Why do X and Z get very close to PI?
Question 2: Why does Y end up being 1.02 when I set it to 2.12041?
Does anyone know what's going on here? I'm a little stumped by this
one.
The simple answer is that with a 4x4 rotation
Hi All,
I'm setting the rotation values of a CALayer, and notice that when
setting the Y component of rotation of a CATransform3D structure via
the :
[layer setValue:someValue forKeyPath:@"transform.rotation.y"]
call, that in certain cases of 'someValue' (the y rotation), the X and