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

Get Ignore Collision#

Physics / Get Ignore Collision

  • Can Read

  • Cannot Write

Description#

Returns the execution of Get Ignore Collision static method on the Physics class

Code#

// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Get Ignore Collision")]
    [Category("Physics/Get Ignore Collision")]
    [Description("Returns the execution of Get Ignore Collision static method on the Physics class")]
    
    [Image(typeof(IconPhysics), ColorTheme.Type.Lime)]
    
    [Serializable]
    public class GenTypeBool_Physics_GetIgnoreCollision_2 : TypeBool
    {
        [SerializeField] private GetGameObject m_Collider1 = new GetGameObject();
        
        [SerializeField] private GetGameObject m_Collider2 = new GetGameObject();
        
        public override bool Get(Args args)
        {
            bool value = (bool) Physics.GetIgnoreCollision(
                (Collider) this.m_Collider1.Get<Collider>(args),
                (Collider) this.m_Collider2.Get<Collider>(args)
            );
            return value;
        }
        
        public override string ToString()
        {
            return $"Physics Get Ignore Collision ({this.m_Collider1}, {this.m_Collider2})";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.