isResting
A Boolean value that indicates whether the physics body is at rest.
Declaration
var isResting: Bool { get }Discussion
This property’s default value is false, but SceneKit’s physics simulation may automatically set it to true if the body is not moving and not affected by any forces. A resting body does not participate in the simulation until another body collides with it or you change its position or velocity or apply a force to it.