In the following snippet, we can see a Node that is Disabled, yet its children are still rendered - this is rather unexpected, is it deliberate?
If so, can I please have an example of a valid use-case for a child of something that is disabled to be processed at runtime, other than serializing / replicating it?
I’m simply trying to understand why the entire tree under a disabled node is not effectively being disabled too.
<node id="5">
<attribute name="Is Enabled" value="false" />
<attribute name="Name" value="GamePlayState" />
<attribute name="Tags" />
<attribute name="Position" value="0 0 0" />
<attribute name="Rotation" value="1 0 0 0" />
<attribute name="Scale" value="1 1 1" />
<attribute name="Variables" />
<component type="GamePlayState" id="187" />
<node id="8">
<attribute name="Is Enabled" value="true" />
<attribute name="Name" value="Mushroom" />
<attribute name="Tags" />
<attribute name="Position" value="11.4454 0 -89.7748" />
<attribute name="Rotation" value="0.821201 0 0.570639 0" />
<attribute name="Scale" value="6.0437 6.0437 6.0437" />
<attribute name="Variables" />
<component type="StaticModel" id="7">
<attribute name="Model" value="Model;Models/Mushroom.mdl" />
<attribute name="Material" value="Material;Materials/Mushroom.xml" />
<attribute name="Cast Shadows" value="true" />
</component>
<component type="RigidBody" id="8">
<attribute name="Physics Rotation" value="0.821201 0 0.570639 0" />
<attribute name="Physics Position" value="11.4454 0 -89.7748" />
<attribute name="Collision Layer" value="2" />
</component>
<component type="CollisionShape" id="9">
<attribute name="Shape Type" value="TriangleMesh" />
<attribute name="Model" value="Model;Models/Mushroom.mdl" />
</component>
</node>