Stickers are added as children of the target object, not siblings
All checks were successful
linting & formatting / build (push) Successful in 27s

This commit is contained in:
Rob Kelly 2025-07-11 14:50:14 -06:00
parent 308cfc8ede
commit 204ce4c77b

View File

@ -70,7 +70,7 @@ func place_sticker() -> void:
if not target: if not target:
push_warning("Tried to apply decal to non-node target ", raycast.get_collider()) push_warning("Tried to apply decal to non-node target ", raycast.get_collider())
return return
target.add_sibling(instance) target.add_child(instance)
instance.place( instance.place(
get_selected_sticker(), get_selected_sticker(),
raycast.get_collision_point(), raycast.get_collision_point(),