#Why can't I get the node with $ ?

3 messages · Page 1 of 1 (latest)

past coyote
#

Does $ not work if the node is your parent?

I'm writing $carRigidBody just as the name of the node is but its giving me
rayScript.gd:35 @_process(): Node not found: "carRigidBody" (relative to"/root/Node3D/newcar/carRigidBody/ray_FL").

daring silo
#

that's in the ray_FL script/node which doesn't have that as a child. Try get_parent() as it is the parent node, or using signals

past coyote
#

alright