isStatic
A Boolean value that indicates whether the collider is static.
Declaration
var isStatic: Bool { get set }Discussion
When an object is static the physics engine recognizes that the object isn’t moving, which typically improves performance.
A Boolean value that indicates whether the collider is static.
var isStatic: Bool { get set }When an object is static the physics engine recognizes that the object isn’t moving, which typically improves performance.