Move a character with SceneKit

Hello

I would like to move a character in swift with SceneKit. I use a gamePad to move the character. It works well at first but when the camera changes orientation, the character is not going in the right direction at all...

Hello,

The Fox 2 sample code demonstrates how you can control a character's movement using SceneKit.

Move a character with SceneKit
 
 
Q