Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

On Joint Break 2D#

Physics 2D / On Joint Break 2D

Description#

Executed when the Joint2D attached to the object breaks

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("On Joint Break 2D")]
    [Image(typeof(IconJoint), ColorTheme.Type.Lime, typeof(BadgeExplosion))]
    
    [Description("Executed when the Joint2D attached to the object breaks")]
    [Category("Physics 2D/Joint Break 2D")]

    [Serializable]
    public class TriggerCoreJointBreak2D : TriggerHandleSourceBase<HandleOnJointBreak2D>
    {
        protected override string GetTitle(GameObject source) => $"{this.SourceName} Joint Break";

        // OVERRIDE METHODS: ----------------------------------------------------------------------
        
        protected override void OnTrigger(GameObject target)
        {
            using Args args = Args.Get(this.Component, target);
            this.Run(args);
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.