Node3d parenting problem

Godot Version



Hello, my issue is that a Node3d (visualized by the cube mesh) parented to the CharacterBody3d is moving along with the character’s CollisionShape despite not being parented to the CollisionShape. This makes the 3D node get lowered to the ground, making its child rays useless because they’re inside the floor - I put a link to an example video.

The CharacterBody’s CollisionShape is having its height adjusted by code for crouching. Im trying to get the Node3d to follow the CharacterBody3d’s origin however it looks like the CharacterBody3d’s origin is moving with the CollisionShape when it gets its height adjusted, or something like that.