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

Articulation Body Is Sleeping#

Physics 3D / Articulation Body / Articulation Body Is Sleeping

  • Can Read

  • Cannot Write

Description#

Returns the execution of Is Sleeping method on the Articulation Body component

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("Articulation Body Is Sleeping")]
    [Category("Physics 3D/Articulation Body/Is Sleeping")]
    [Description("Returns the execution of Is Sleeping method on the Articulation Body component")]
    
    [Image(typeof(IconPhysics), ColorTheme.Type.Lime, typeof(BadgeDot))]
    [Keywords("Physics, 3D")]
    
    [Serializable]
    public class GenTypeBool_ArticulationBody_IsSleeping_0 : TypeBool
    {
        [SerializeField] private GetGameObject m_ArticulationBody = new GetGameObject(
            new GenTypeGameObject_ArticulationBody()
        );
        
        public override bool Get(Args args)
        {
            ArticulationBody component = this.m_ArticulationBody.Get<ArticulationBody>(args);
            if (component == null) return default;
            
            bool value = (bool) component.IsSleeping();
            
            return value;
        }
        
        public override string ToString()
        {
            return $"{this.m_ArticulationBody} Is Sleeping";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

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