43. Reach an existing model without guessing a node path
func run() -> bool:
var nodes: Dictionary = Runtime.get("entity_nodes")
var object_node: Node3D = nodes.get("archive_door") as Node3D
if object_node == null or not is_instance_valid(object_node):
return false
Log("Rendered node class: " + object_node.get_class())
return trueThis is an intentional lower-level bridge. The entity_nodes table is runtime implementation data in this build, not a general stable registry API. Guard it and retest extensions when updating PCA. A character can be replaced/rebuilt, so a cached Node reference can become invalid.
The returned node may be a wrapper with an imported model below it. Use known child names from your own scene, or a constrained find_child/find_children search. Do not assume that every asset has the same hierarchy.
For ordinary visibility, animation, position and inventory changes, use the PCA action/proxy. Native node manipulation is for work outside that higher-level surface, with ownership and restoration handled deliberately.
Figure 14. The running preview confirms that the rendered archive_door node is a Node3D; its model is below that wrapper.
