Pinned Loading
-
-
-
-
-
SceneKit get ancestor-relative (and ...
SceneKit get ancestor-relative (and scene-relative) position and rotation 1import Foundation
2import SpriteKit
34extension SKNode {
5func getPosition(within ancestor: SKNode) -> CGPoint {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.