Instance Property


The physics body associated with the node.


var physicsBody: SCNPhysicsBody? { get set }


The default value is nil, specifying that the node does not participate in the physics simulation at all. If you provide a physics body, SceneKit updates the node’s position and orientation each time it processes a step of its physics simulation. For more information on SceneKit’s physics system, see SCNPhysicsWorld.

See Also

Adding Physics to a Node

var physicsField: SCNPhysicsField?

The physics field associated with the node.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software