// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Report collisions with your own objects // Not compiled or tested in-world // Setup: Put in a test object that can receive collision events. // Stop / restore: Remove or reset the script to stop the diagnostic. No build properties are changed. // Notes: Avatar detections are excluded and other owners’ objects are ignored. Does not change physics or store contact history; collision events depend on object physics and simulator behavior. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. default { collision_start(integer contacts) { integer i; for(i=0;i