khanat-client/scenes/game/player.gd

6 lines
179 B
GDScript3
Raw Permalink Normal View History

2021-09-03 21:27:28 +00:00
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)