6 lines
179 B
GDScript3
6 lines
179 B
GDScript3
|
tool
|
||
|
extends MeshInstance
|
||
|
|
||
|
func _process(delta) -> void:
|
||
|
get_parent().get_node("multi_mesh_instance_2").material_override.set_shader_param("player_pos", global_transform.origin)
|