generated from krampus/template-godot4
Stickers are added as children of the target object, not siblings
All checks were successful
linting & formatting / build (push) Successful in 27s
All checks were successful
linting & formatting / build (push) Successful in 27s
This commit is contained in:
parent
308cfc8ede
commit
204ce4c77b
@ -70,7 +70,7 @@ func place_sticker() -> void:
|
||||
if not target:
|
||||
push_warning("Tried to apply decal to non-node target ", raycast.get_collider())
|
||||
return
|
||||
target.add_sibling(instance)
|
||||
target.add_child(instance)
|
||||
instance.place(
|
||||
get_selected_sticker(),
|
||||
raycast.get_collision_point(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user