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

Wheel Collider Is Grounded#

Physics 3D / Collider / Wheel Collider / Wheel Collider Is Grounded

Description#

Compares the Is Grounded property of Wheel Collider component to another value

Parameters#

Name Description
Wheel Collider

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
{
    [Title("Wheel Collider Is Grounded")]
    [Category("Physics 3D/Collider/Wheel Collider/Is Grounded")]
    [Description("Compares the Is Grounded property of Wheel Collider component to another value")]
    
    [Image(typeof(IconWheel), ColorTheme.Type.Lime)]
    [Keywords("Physics, 3D")]
    
    [Parameter("Wheel Collider")]
    
    [Serializable]
    public class GenConditionBool_WheelCollider_CheckIsGrounded : Condition
    {
        [SerializeField] private GetGameObject m_WheelCollider = new GetGameObject(
            new GenTypeGameObject_WheelCollider()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Is Grounded");
            return $"{this.m_WheelCollider} {member}";
        }
        
        protected override bool Run(Args args)
        {
            WheelCollider component = this.m_WheelCollider.Get<WheelCollider>(args);
            if (component == null) return false;
            
            return component.isGrounded;
        }
    }
}

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