Hi,
Using SCNAction.rotateByAngle(…) in my game I would press left/right/up/down to have an object rotate in that direction. But testing my game on El Capitan causes the 3D object to rotate the other way i.e. left becomes right and up becomes down.
The code is:
Rotate up = SCNVector3(x:1, y:0, z:0)
Rotate down = SCNVector3(x:-1, y:0, z:0)
Rotate left = SCNVector3(x:0, y:1, z:0)
Rotate right = SCNVector3(x:0, y:-1, z:0)
SCNAction.rotateByAngle(CGFloat(M_PI_2), aroundAxis:vector, duration:1)
Pretty simple and straight forward.
Did I miss something regarding SceneKit for El Capitan?
Same thing also happens with iOS 9/Metal...
Any clues why this is happening?
Should I have to check which OS is running and then apply the correct rotations?
thx
MKX