79539813

Date: 2025-03-27 19:05:48
Score: 1.5
Natty:
Report link

Maybe this wasn't the case 8 years ago, but now you can just move the node relative to its local coordinate system...

cubeNode.localTranslate(by: SCNVector3(x: 0.01, y: 0, z: 0)) // Move 1 centimeter along X axis (red)

See: https://developer.apple.com/documentation/scenekit/scnnode/localtranslate(by:)

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joel S.