khanat-client/scenes/game/player.gd
2021-09-03 23:27:28 +02:00

5 lines
179 B
GDScript

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)