AnimatedSprite3D node not getting any nodes outside of it

Godot Version

Godot 4.6

Question

This is driving me insane, for some reason i just can’t access the nodes outside of AnimatedSprite3D ? Only children of AnimatedSprite3D. I would use get_parent() but that method simply does not exist at all for some reason. I’m trying to access Camera3D as i’m trying to do Doom style rotation sprites for my game.

Discord_8ZGa0g3rdJ

get_parent() does exist.

But first you’d want to fix the red error on the previous line.

It doesn’t, just look:

Discord_I3bVGkJMOO

How did you determine it doesn’t exist? Are there any errors reported by the engine?

no errors, i try to find if it exist by simply typing it, but the only get_ function existing is get_orphan_node_ids and get_stack

The tooltip did display the function signature in your gif. If you want autocomplete to work in the current object context in class property initialization, try typing self.

Just because the context help doesn’t populate it doesn’t mean it won’t work.

1 Like