bodyGetObjectInstanceId(body:)

    Returns the ObjectID attached to the body. Use @GlobalScope.instance_from_id to retrieve an Object from a nonzero ObjectID.

    PhysicsServer2D.swift:2441
    static func bodyGetObjectInstanceId(body: RID) -> UInt

    Other members in extension

    Types

    Type members