maxContactsReported

    The maximum number of contacts that will be recorded. Requires a value greater than 0 and contactMonitor to be set to true to start to register contacts. Use getContactCount to retrieve the count or getCollidingBodies to retrieve bodies that have been collided with.

    RigidBody3D.swift:264
    final var maxContactsReported: Int32 { get set }

    Other members in extension

    Types

    Type members

    Instance members

    Show implementation details (1)

    Hide implementation details

    • func _integrateForces(state: PhysicsDirectBodyState3D?)

      Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default, it works in addition to the usual physics behavior, but the customIntegrator property allows you to disable the default behavior and do fully custom force integration for a body.