Instance Property

type

A constant that determines how the physics body responds to forces and collisions.

Declaration

@property(nonatomic) SCNPhysicsBodyType type;

Discussion

See Also

Defining How Forces Affect a Physics Body

physicsShape

An object that defines the solid volume of the physics body for use in collision detection.

SCNPhysicsBodyType

Constants that determine how a physics body interacts with forces and other bodies, used by the type property and when creating a physics body.

velocityFactor

A multiplier affecting how SceneKit applies translations computed by the physics simulation to the node containing the physics body.

angularVelocityFactor

A multiplier affecting how SceneKit applies rotations computed by the physics simulation to the node containing the physics body.

affectedByGravity

A Boolean value that determines whether the constant gravity of a scene accelerates the body.